The first call passes '0' and the second call passes '0 100'; that may or may not be what you want. If the routine actually expects two parameters, then you must code 'call code 0, 100'.
As for error handling, REXX does not have a branch instruction. It does have signal, which does some nasty things if you try using it for anything but the error handling it is intended for. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Bill Giannelli <[email protected]> Sent: Monday, September 30, 2019 10:10 AM To: [email protected] Subject: Re: Rexx calls versus branching Thank you very much for your response. I also have a Rexx routine that has "call code 0" and call code 0 100" which seems to branch to a routine "code" for error handling? how are the 0 and 100 values processed? thanks Bill ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
