The LINK and LINKMVS environments both pass parameters beginning with halfword length fields; LINK takes the entire expression as a single parameter while LINKMVS takes the expression as a list of parameter names. There are charts starting around p. 30 of the REXX reference showing what the parameter lists look like for each.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Monday, March 22, 2021 3:24 PM To: [email protected] Subject: Re: Can I use a REXX PLIST when calling a COBOL program? On Mon, 22 Mar 2021 14:53:02 -0400, Cameron Conacher wrote: > >when you say that my COBOL program must be coded Rexx-aware, do you mean I >need to work with IRXEXCOM to tease the parameters out from REXX? > Perhaps that code exists in REXXEXCI. >I appreciate everyone's input. >I don't know if the "appropriate" path forward is to use ADDRESS LINK or >ADDRESS LINKMVS or if I should continue to try to make the CALL work. >I don't want to waste anyone's time (other than my own). > >I will keep playing around to see if I can figure this out. > Oh my! o CALL invokes a Rexx subroutine (which might be coded in Assembler with Rexx-like linkage.) o 'CALL' (quoted) issues the TSO (or other command environment) to invoke a program object with a JCL-like PARM. (Or do something else.) o address 'LINKMVS' invokes a program object with one (or more JCL-like PARMs. (JCL allows at most one.) o address 'LINKPGM' is close to the CALL macro interface. o address 'LINK' is sui generis. I suspect it's a residue of CMS conventions. TSO-REXX LISTSERV might correct some of my misconceptions. Is a description of REXXEXCI readily available? It seems to be a CICS thing. -- 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
