Jim,

If that's the only attribute you're sending, you can define it like
this: SUBR('ZGET.PCODE,@RECORD<25>) where attribute 25 is the PartNo
field. You don't need to include the @MV in the subroutine argument list
because the subroutine will understand @MV. 

There is no parsing necessary for an i-descriptor to process the
multi-valued field. Just make sure that attribute 6 of the dictionary
item is 'M'.

I hope this helps.

Karen


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Koca
Sent: Tuesday, October 02, 2007 2:04 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] I descriptor help

I need to call a basic subroutine to process a field. The field in the
record is a multivalued field. How do I pass that field to the called
subroutine ?

The field is PARTNO which is defined as a MV field. I want to call a
subroutine such as SUBR('ZGET.PCODE',@RECORD,@MV). I have them
associated in
the same PH record.

Jim Koca
-------
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/

Reply via email to