I just looked in the REXX Reference manual and found this (which I did not know 
before!):

There can be up to an implementation-defined maximum number of expressions,
separated by commas, between the parentheses. In TSO/E, the implementation
maximum is up to 20 expressions.

Regards – Grant

 


DTCC Internal (Green)

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jantje.
Sent: 09 April 2018 14:27
To: [email protected]
Subject: Re: Many arguments to a Rexx function call

ATTENTION! This email originated outside of DTCC; exercise caution.


On Fri, 6 Apr 2018 17:21:19 +0000, Grinsell, Don <[email protected]> wrote:

>Start your continuation lines with a comma:
>
> RS=ALERTSN(SEV,TYPENAME,ELEMENT,DESC,STATUS,STSDESC,
>   ,SUBSRC,SOURCE,LOCATION,SYSTYPE,PLTFTYPE,IMPACT,HOST,
>   ,MONENV,RESOURCE,EXTRINFO,ACTIVE,CLOSING,FTPERR,
>   ,APPLTYPE,APPLNAME,UNIQUE)
>

Commas at the beginning or at the end makes no difference... :

    87 +++ 
RS=ALERTSN(SEV,TYPENAME,ELEMENT,DESC,STATUS,STSDESC,,SUBSRC,SOURCE,LOCATION,SYSTYPE,PLTFTYPE,IMPACT,HOST,,MONENV,RESOURC
E,EXTRINFO,ACTIVE,CLOSING,FTPERR,,APPLTYPE,APPLNAME,UNIQUE)
IRX0040I Error running ALERTSNB, line 87: Incorrect call to routine

Thanks for the suggestion anyway,

Jantje.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
DTCC DISCLAIMER: This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error, please notify us 
immediately and delete the email and any attachments from your system. The 
recipient should check this email and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused by any virus 
transmitted by this email.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to