On Mon, 22 Mar 2021 17:50:00 +0000, Seymour J Metz wrote:

>You are using CALL, which is intended for REXX procedures and REXX-aware 
>procedure that are written to accept an external function parameter list 
>(EFPL).
>
Which may be OK if REXXEXCI is coded Rexx-aware and reformats it
argument as required by EXCI.

> ... Use ADDRESS LINK or ADDRESS LINKMVS to call a main program and ADDRESS 
> LINKPGM to call a subroutine. Note that if the subroutine is written in COBOL 
> then you also have the issue of LE to deal with.
>
LINKMVS generates a 2-byte length à la JCL "PARM=".  LINKPGM , like
Assembler CALL, requires the programmer to supply the length
("d2c(length( PARM ), 2) || PARM") but can be used for subroutines
not expecting such a length.

-- gil

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

Reply via email to