Likewise, late in the day, but on UniVerse, to extract the (lowered) 2nd
value,
instead of:
TRANS('ORDERS', ORDKEY, LINES, 'X')*_; @_*<1,1,2>
do:
TRANS('ORDERS', ORDKEY, LINES, 'X')<1,1,2>
Reason:
Allows you to reference this I-descriptor from another I-descriptor
in the future.
UV doesn't let you do that if there are multiple expressions
separated by semi-colons.
There is no good reason for that restriction other than internal,
how it was implemented.
On 9/14/2011 7:14 PM, Kebbon Irwin wrote:
I know this is a little late in the conversation, but in Unidata you can
specify the value in the return code portion of the TRANS function -
TRANS('ORDERS', ORDKEY, LINES, 'X2') will return the second value of the LINES
attr in ORDERS.
HTH,
Kebbon
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users