RE: [U2] Barcode PCL Commands (link to code)

2006-06-29 Thread Brian Leach
George

Can I ask you to write this up as a short article for the U2UG knowledge
base.
It's the kind of useful information we're looking for :)

In case you haven't visited, you can find it at:

www.mvopen.org/kb

There's also a link from the U2UG website.

Thanks,

Brian 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
 Sent: 28 June 2006 18:51
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Barcode PCL Commands (link to code)
 
 I thought this was in the U2 file section, but it's not.
 
 Here is a link to get it.
 http://www.carcarealert.com/CODE128.TXT 
 
 George
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik
  Sent: Wednesday, June 28, 2006 1:31 PM
  To: u2-users@listserver.u2ug.org
  Subject: RE: [U2] Barcode PCL Commands
  
  
  if you need Code-128, There should be a subroutine where 
 U2 files are 
  stored. It works very niceley. By Dave Church.
  
  If you need this, I can forward it to you. It will return the
  
  I don't know about the original poster, but I'd like to see that.
  
  Barry Brevik
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Question about a dictionary item

2006-06-29 Thread Jeff Flynt
Hi Pam,

I am guessing you are on Unidata and probably a Datatel client, and if so,
many of the suggested methods won't work as they are designed for Universe.
The i-desc below should work for you. It returns your number 073102. More
over, it returns any number of numbers depending on how many COMBO YS
codes you have on the line. If you are using Datatel there are subroutines
that make this job easier (such as S.IFS) but the i-desc below works on an
off the shelf Unidata box. This does assume that the COMBO YS fields are
at the start of each field - no leading spaces or anything. Anyway, just
paste this into field 2 of a new i-desc.

SUBR(-FIELDS,CONVERT('~',@VM,CONVERT(@VM,'
',SUBR(-CATS,SUBR(-CHARS,SUBR(-INDEXS,NOTES,COMBO
YS,1)*REUSE(94)+REUSE(32)),NOTES))['~',2,9]),' ',3,1)

I tested this on a record with NOTES like this:

COMBO YS 112Misc Text2Misc Text2COMBO YS 0731022Misc Text2COMBO YS
12342BLAH2BLAH2COMBO YS 23452XXX2COMBO YS 8882COMBO YS 3692ME
TOO2HELLO2COMBO YS 9
 
Which reads better as:
001: COMBO YS 11
002: Misc Text
003: Misc Text
004: COMBO YS 073102
005: Misc Text
006: COMBO YS 1234
007: BLAH
008: BLAH
009: COMBO YS 2345
010: XXX
011: COMBO YS 888
012: COMBO YS 369
013: ME TO
014: HELLO
015: COMBO YS 9

And when I run it I get:
LIST BP DATA EXT 00:41:45 Jun 29 2006 1
BP  .

DATA   11
   073102
   1234
   2345
   888
   369
   9
1 record listed

Hope that helps,
Jeff Flynt

~
~ Jeff Flynt~
~ Applications Systems Analyst, Sr. ~
~ Information Resources Management  ~
~ Arizona State University  ~
~ [EMAIL PROTECTED]~
~ (480) 965-6870~
~

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J Robbins
Sent: Wednesday, June 28, 2006 12:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Question about a dictionary item

Hi,

I have a multi-value attribute that's made up of free text remarks.  
However, we put a couple of system messages there as well.   I need to 
extract the 6 digit number that follows the COMBO YS  in the line below,
but I'm having trouble setting up the conversion code in the dictionary.

Misc Text}Misc Text}COMBO YS 073102}Misc Text

Could someone give me some suggestions?

-- 
Pamela J Robbins New Bolton Center
Senior Programmer AnalystSchool of Veterinary Medicine
[EMAIL PROTECTED]   University of Pennsylvania
610-925-6438 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date: 6/28/2006


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date: 6/28/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date: 6/28/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Question about a dictionary item

2006-06-29 Thread Pamela J Robbins
There could be other numbers within the attribute.  I should have said 
earlier, but we're running Universe.



Kevin King wrote:


Is there any other number in there?  If not, why not simply use the
MCN conversion? 



-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J
Robbins
Sent: Wednesday, June 28, 2006 1:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Question about a dictionary item

Hi,

I have a multi-value attribute that's made up of free text remarks.  
However, we put a couple of system messages there as well.   I need to


extract the 6 digit number that follows the COMBO YS  in the line
below, but I'm having trouble setting up the conversion code in the
dictionary.

Misc Text}Misc Text}COMBO YS 073102}Misc Text

Could someone give me some suggestions?

 




--
Pamela J Robbins New Bolton Center
Senior Programmer AnalystSchool of Veterinary Medicine
[EMAIL PROTECTED]   University of Pennsylvania
610-925-6438 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Question about a dictionary item

2006-06-29 Thread Pamela J Robbins

Thanks, the 15 second I-Descriptor worked perfectly for me in Universe.
Pam

gerry-u2ug wrote:


A 15 second I-Descriptor :
NOTES[INDEX(NOTES,COMBO YS ,1)+9,6]

If the length of the data you are after is variable to the end of the
field
NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1

Or extends to the next space or end of field
NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1[' ',1,1]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J
Robbins
Sent: June 28, 2006 15:01
To: u2-users@listserver.u2ug.org
Subject: [U2] Question about a dictionary item

Hi,

I have a multi-value attribute that's made up of free text remarks.  
However, we put a couple of system messages there as well.   I need to 
extract the 6 digit number that follows the COMBO YS  in the line 
below, but I'm having trouble setting up the conversion code in the 
dictionary.


Misc Text}Misc Text}COMBO YS 073102}Misc Text

Could someone give me some suggestions?

 




--
Pamela J Robbins New Bolton Center
Senior Programmer AnalystSchool of Veterinary Medicine
[EMAIL PROTECTED]   University of Pennsylvania
610-925-6438 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Question about a dictionary item (2nd question)

2006-06-29 Thread Pamela J Robbins
If I want to reference this with a dictionary item in a second file, can 
I do that?  I tried setting up an S type NOTES entry in the DICT item 
for the second file with the conversion set up as 
T1,6}TFILENAME;X;44;44 and then tried using the code below for an I 
descriptor, but it couldn't handle it.  The display was blank.  Am I 
trying to do too much using the dictionary?


gerry-u2ug wrote:


A 15 second I-Descriptor :
NOTES[INDEX(NOTES,COMBO YS ,1)+9,6]

If the length of the data you are after is variable to the end of the
field
NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1

Or extends to the next space or end of field
NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1[' ',1,1]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J
Robbins
Sent: June 28, 2006 15:01
To: u2-users@listserver.u2ug.org
Subject: [U2] Question about a dictionary item

Hi,

I have a multi-value attribute that's made up of free text remarks.  
However, we put a couple of system messages there as well.   I need to 
extract the 6 digit number that follows the COMBO YS  in the line 
below, but I'm having trouble setting up the conversion code in the 
dictionary.


Misc Text}Misc Text}COMBO YS 073102}Misc Text

Could someone give me some suggestions?

 




--
Pamela J Robbins New Bolton Center
Senior Programmer AnalystSchool of Veterinary Medicine
[EMAIL PROTECTED]   University of Pennsylvania
610-925-6438 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Barcode PCL Commands (link to code)

2006-06-29 Thread George Gallen
I suppose I could. However, it's not my code.
Does anyone know if David Church is still on the list?
  and if lurking, do you have a problem with it?

George

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Brian Leach
 Sent: Thursday, June 29, 2006 3:46 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Barcode PCL Commands (link to code)
 
 
 George
 
 Can I ask you to write this up as a short article for the 
 U2UG knowledge
 base.
 It's the kind of useful information we're looking for :)
 
 In case you haven't visited, you can find it at:
 
 www.mvopen.org/kb
 
 There's also a link from the U2UG website.
 
 Thanks,
 
 Brian 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
 George Gallen
  Sent: 28 June 2006 18:51
  To: u2-users@listserver.u2ug.org
  Subject: RE: [U2] Barcode PCL Commands (link to code)
  
  I thought this was in the U2 file section, but it's not.
  
  Here is a link to get it.
  http://www.carcarealert.com/CODE128.TXT 
  
  George
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Question about a dictionary item (2nd question)

2006-06-29 Thread gerry-u2ug
Off the top, modify the I-Descriptor to be :
TRANS(OTHERFILE,NOTES,-1);@1[INDEX(@1,COMBO YS ,1)+9,6]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J
Robbins
Sent: June 29, 2006 09:54
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Question about a dictionary item (2nd question)

If I want to reference this with a dictionary item in a second file, can

I do that?  I tried setting up an S type NOTES entry in the DICT item 
for the second file with the conversion set up as 
T1,6}TFILENAME;X;44;44 and then tried using the code below for an I 
descriptor, but it couldn't handle it.  The display was blank.  Am I 
trying to do too much using the dictionary?

gerry-u2ug wrote:

A 15 second I-Descriptor :
   NOTES[INDEX(NOTES,COMBO YS ,1)+9,6]

If the length of the data you are after is variable to the end of the
field
   NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1

Or extends to the next space or end of field
   NOTES[INDEX(NOTES,COMBO YS ,1)+9,99]1,1[' ',1,1]




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pamela J
Robbins
Sent: June 28, 2006 15:01
To: u2-users@listserver.u2ug.org
Subject: [U2] Question about a dictionary item

Hi,

I have a multi-value attribute that's made up of free text remarks.  
However, we put a couple of system messages there as well.   I need to 
extract the 6 digit number that follows the COMBO YS  in the line 
below, but I'm having trouble setting up the conversion code in the 
dictionary.

Misc Text}Misc Text}COMBO YS 073102}Misc Text

Could someone give me some suggestions?

  



-- 
Pamela J Robbins New Bolton Center
Senior Programmer AnalystSchool of Veterinary Medicine
[EMAIL PROTECTED]   University of Pennsylvania
610-925-6438 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] What is wrong with this OCONV?

2006-06-29 Thread David Wolverton
I am tring to get Hex data back for a URL encode... 

What is wrong with this statement:

X  = OCONV(,,MX)

X is being returned as , instead of the Hex Value of , - 2C

What am I missing -- this seems fine on UniData - But UniVerse isn't
working...

'Still a UniVerse Newbie'...

David W.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] What is wrong with this OCONV?

2006-06-29 Thread Peter Veenhof
H this works fine for me on Universe 10.1.11 in a PICK flavored
account. I get X = 2C...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Thursday, June 29, 2006 1:20 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] What is wrong with this OCONV?

I am tring to get Hex data back for a URL encode... 

What is wrong with this statement:

X  = OCONV(,,MX)

X is being returned as , instead of the Hex Value of , - 2C

What am I missing -- this seems fine on UniData - But UniVerse isn't
working...

'Still a UniVerse Newbie'...

David W.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] What is wrong with this OCONV?

2006-06-29 Thread David Wolverton
 Found it...

Should be 

X = OCONV(,,MX0C) 

Thanks!
DW



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Thursday, June 29, 2006 12:20 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] What is wrong with this OCONV?

I am tring to get Hex data back for a URL encode... 

What is wrong with this statement:

X  = OCONV(,,MX)

X is being returned as , instead of the Hex Value of , - 2C

What am I missing -- this seems fine on UniData - But UniVerse isn't
working...

'Still a UniVerse Newbie'...

David W.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Error 81002...

2006-06-29 Thread Rodrigo Girlando
Hi,

Anyone konws what the error number  *81002 *in Universe means?

Thanks

Rodrigo
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Error 81002... {Unclassified}

2006-06-29 Thread HENDERSON MIKE, MR
CT SYS.MESSAGE 081002

 081002
0001 unirpc: No Connection
0002
 

 -Original Message-
 From: [EMAIL PROTECTED] On Behalf Of Rodrigo Girlando
 Sent: Friday, 30 June 2006 08:56
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Error 81002...
 
 Hi,
 
 Anyone konws what the error number  *81002 *in Universe means?
 
 Thanks
 
 Rodrigo
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] What is wrong with this OCONV?

2006-06-29 Thread Stuart . Boydell
   Could I suggest you have a look at this program - it might do what you
   want:

   http://www.pickwiki.com/cgi-bin/wiki.pl?URLEncode

   Regards,

   Stuart

   __

   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]   On   Behalf   Of  David
   Wolverton [EMAIL PROTECTED]
   Sent: Friday, 30 June 2006 03:20
   To: u2-users@listserver.u2ug.org
   Subject: [U2] [UV] What is wrong with this OCONV?

   I am tring to get Hex data back for a URL encode...
   What is wrong with this statement:
   X = OCONV(,,MX)
   X is being returned as , instead of the Hex Value of , - 2C
   What am I missing -- this seems fine on UniData - But UniVerse isn't
   working...
   'Still a UniVerse Newbie'...
   David W.
   ---
   u2-users mailing list
   u2-users@listserver.u2ug.org
   To unsubscribe please visit http://listserver.u2ug.org/

   **

   This  email message and any files transmitted with it are confidential
   and intended solely for the use of addressed recipient(s). If you have
   received  this  email  in  error please notify the Spotless IS Support
   Centre  (+61 3 9269 7555) immediately, who will advise further action.
   This  footnote  also confirms that this email message has been scanned
   for the presence of computer related viruses.

   **
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/