On Mon, 9 Apr 2018 09:29:22 -0700, Gerhard Adam  wrote:

>If you need to include all 22 arguments, just make the last one bigger and 
>parse it a second time to get the results.
>For example:
>000001 /*  REXX  */                                                            
>000002 rs = ALERTSN(SEV,TYPENAME,ELEMENT,DESC,STATUS,STSDESC,    ,             
>000003      SUBSRC,SOURCE,LOCATION,SYSTYPE,PLTFTYPE,IMPACT,HOST,    ,          
>000004      MONENV,RESOURCE,EXTRINFO,ACTIVE,CLOSING,FTPERR,    ,               
>000005      APPLTYPE APPLNAME UNIQUE)                                          
>000006 EXIT 0                                                                  
> ...            
>Notice that the last argument is separated by spaces to combine them all as a 
>single argument.
>
This depends on a couple things:
o That ALERTSN is written in Rexx, or at least that the OP has the source so he
  can modify it.
o That the "combined" arguments contain no internal blanks, which makes parsing
  more complicated.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to