On Wed, 11 Jul 2018 19:30:16 +0000, Clifford McNeill wrote:

>The proc author probably wouldn't do in that manner.  Look at excerpt below, 
>notice how LKED SYSLIN is referencing a dsn from a previous step?
>------------------------------------------------------------------------
>SYS1.PROCLIB(IBMZCPLG) - 01.01                          Columns 0000
> ===>                                                          Scroll ==
>//*********************************************************************
>//* PRE-LINK-EDIT STEP
>//*********************************************************************
>//PLKED    EXEC PGM=EDCPRLK,COND=(8,LT,PLI)
>//    ...
>//SYSMOD   DD  DSN=&&PLNK,DISP=(,PASS),UNIT=SYSALLDA,SPACE=(CYL,(1,1)),
>//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=&SYSLBLK)
>//*********************************************************************
>//* LINK-EDIT STEP
>//*********************************************************************
>//LKED     EXEC PGM=IEWL,PARM='XREF',COND=((8,LT,PLI),(8,LE,PLKED))
>//    ...
>//SYSLIN   DD  DSN=*.PLKED.SYSMOD,DISP=(OLD,DELETE)
> 
Suppose the end user calls this with:
//FOOBAR  EXEC  PROC=IBMZXPLG,...

Doesn't the referback need to cite the job step, as in:
//SYSLIN   DD  DSN=*.FOOBAR.PLKED.SYSMOD,DISP=(OLD,DELETE)

... but the author of the PROC can't know a priori the callers jobstep name.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to