Normal continuation rules would apply, but it appears that there is a limit of 20 arguments. You have 22, which produces the error
Adam -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Phil Smith III Sent: Friday, April 6, 2018 3:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Many arguments to a Rexx function call Don Grinsell 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) Ooh. Never even thought of that! hmm, but that only works for continued function/subroutine calls, since that leading comma is the one serving as the argument delimiter. Well, ok, so combine the techniques-make the continuation comma have a space before it: RS=ALERTSN(SEV,TYPENAME,ELEMENT,DESC,STATUS,STSDESC , ,SUBSRC,SOURCE,LOCATION,SYSTYPE,PLTFTYPE,IMPACT,HOST , ,MONENV,RESOURCE,EXTRINFO,ACTIVE,CLOSING,FTPERR , ,APPLTYPE,APPLNAME,UNIQUE) Then you can still find the continuations, but it avoids the fugly 'comma space comma'. I learn something every day (I hope)! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN