What the called program can do depends on the caller. The PARM might be in R/O storage.
The Initiator does not pass a 64-bit PARM. ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Wednesday, August 16, 2023 9:18 AM To: [email protected] Subject: Pass PARM by reference to COBOL PARM is uniformly passed to a program by reference: R1 -> x'80000000' + -> halfword length || parameter string If a COBOL program is called by a program other than Initiator, can it modify that parameter string as an Assembler program might to return a value to the caller? (If a program is marked AMODE 64, does Initiator pass a 64-bit PLIST?) -- gil ---------------------------------------------------------------------- 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
