Isn't there a "T" missing?

OCONV(@ID,"G*1"); OCONV(@,"FILE;X;0;0"); @#""
                           ^^^^
                           TFILE ?
should be:
OCONV(@ID,"G*1"); OCONV(@,"TFILE;X;0;0"); @#""




another way is to do both correlatives in 1 oconv:

OCONV(@ID,("G*1":@VM:"TFILE;X;0;0"))#""


On 2/28/2013 3:29 PM, [email protected] wrote:
A coworker just ran across the following in one of our DICTs. The name of
the item indicates it was written by someone who is no longer with the
organization and was well known for knowing wonderful arcane UniData
tidbits. We can't find anything describing what exactly is going on. The
end result is very useful. I'm wondering if anyone can explain the @#""
bit.


OCONV(@ID,"G*1"); OCONV(@,"FILE;X;0;0"); @#""


The file the DICT is in has a compound key: ACCOUNT.NUMBER*sequential.
What this item does is grab the account number, attempt to read from FILE
and return a 0 if the account doesn't exist in FILE or a 1 if it does.
Pretty nifty.

UD7.1
AIX5.3


TIA,
Brad.
U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to