At 14:19 -0700 on 10/07/2005, Charles Mills wrote about Re: Assembler question:

OTOH, why not consider changing you macro syntax to something like

USERS=(T045022,T046726,T047542,T056131,...

And then is should be fairly trivial to separate out the sub-operands of
&USERS (&USERS(&SUB) as I recall) and loop based on the number of
sub-operands (N'&USERS as I recall).

Even if the "separate by blanks" format is used, you can still parse them out (assuming that all the IDs are 7 bytes long) by just using as sub-string type operation. All that is needed is to first do a sanity check of the length to see that it is one byte shorter than an multiple of 8 (that length+1/8 gives you your loop count).

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to