Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Paul Gilmartin
On Thu, 9 Sep 2021 10:51:48 -0500, Mike Schwab wrote: >Can't use nested procs. Can nest includes but that is mid 1990s MVS. > Nested proc calls ("EXEC PTOC=") to a small depth have existed for many releases now, but the syntax for overrides and refer backs does not exist. >On Thu, Sep 9, 2021 a

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Mike Schwab
Can't use nested procs. Can nest includes but that is mid 1990s MVS. On Thu, Sep 9, 2021 at 4:44 AM Peter Vels wrote: > > I wonder if this limitation is your issue... > > https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references > > "The following statements cannot be referenced

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Paul Gilmartin
On Thu, 9 Sep 2021 19:43:43 +1000, Peter Vels wrote: >I wonder if this limitation is your issue... >https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references >"The following statements cannot be referenced: >... > - Nested procedure statements" > Alas, MVS's implementation of dy

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Colin Paice
Thank you ... that would explain it! On Thu, 9 Sept 2021 at 10:44, Peter Vels wrote: > I wonder if this limitation is your issue... > > https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references > > "The following statements cannot be referenced: > ... > >- Nested procedure

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread David Spiegel
Hi Colin, Here is a working example: //STEP001 EXEC ASMACL //C.SYSIN  DD  * TEST CSECT END //GO  EXEC PGM=IEFBR14 //STEPLIB  DD  DISP=SHR,DSN=*.STEP001.L.SYSLMOD Here is SYS1.PROCLB(ASMACL) //ASMACL   PROC //C    EXEC PGM=ASMA90 //* //SYSLIB   DD DSN=SYS1.MACLIB,DISP=SHR

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Peter Vels
I wonder if this limitation is your issue... https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references "The following statements cannot be referenced: ... - Nested procedure statements" On Thu, 9 Sept 2021 at 18:56, Colin Paice wrote: > I have a JCL procedure CCPROC which

Can I use DSN referback using nested procs?

2021-09-09 Thread Colin Paice
I have a JCL procedure CCPROC which invokes PROC=EDCCB. PROC=EDCCB has two steps compile and bind. Bind puts the output in SYSLMOD. I would now like to refer the the SYSLMOD data set elsewhere, for example //LIST EXEC PROC=CCPROC //EXEC PGM=MYPROG //STEPLIB DD DSN=*.??.SYSLMOD The doc says **.ste