On Tue, 17 Dec 2019 22:42:45 +0000, Farley, Peter X23353 <peter.far...@broadridge.com> wrote abour Adding a PARM to a PROCSTEP where no PARM is coded:
> I thought I know this stuff, but my employer's z/OS V2.2 system is saying I > don't. > > I have a simple one-step PROC which executes a COBOL program but has no > keyword parameters on the EXEC statement, like this: > > //MYPROC PROC OUT=* > //MYPGM EXEC PGM=MYPGM > //SYSOUT DD SYSOUT=&OUT > // PEND > > MYPGM is compiled with COBOL V5.2 and has a LINKAGE SECTION like this: > > LINKAGE SECTION. > 01 PARM-FIELDS. > 05 PARM-LENGTH PIC S9(04) COMP. > 05 PARM-AREA PIC X(25). > Did your PROCEDURE DIVISION statement include USING PARM-FIELDS ? -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN