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 dynamically nested EXECs is halfhearted. It's easy to imagine a syntax such as: *.stepname.procstepname.subprocstepname.ddname etc. but IBM chose not to implement the necessary control structures. I could imagine doing it with stepnames generated by the Reader without extending the control structures.
I suspect that whoever wrote the RFE for nestedd PROC calls never imagined that IBM would assume that that referbacks and overrides didn't need to be supported and didn't make that explicit in the RFE. David Spiegel's example did not have a nested PROC call. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN