A more simple solution is to create an ALIAS for the main entry JJ Then create an ALIAS JJ1, JJ2, JJ3 all pointing to JJ
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of > Steely.Mark > Sent: Monday, October 08, 2018 3:16 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: EDIT Macro > > I have a JCL Check product that uses an EDIT Macro to check the JCL. This > EDIT Macro has been copied under different member names through the years. > The customers uses whatever process was provided when hired. > > The question is can I call another edit macro within another edit macro. > > Ex. JJ1 JJ2 JJ3 are all exactly the same. > How can I leave JJ1 alone and have JJ2 & JJ3 call JJ1. > > The manuals were not very informative. > > I tried EXEC 'aaa.aaa.aaa(JJ1)' Cant exec an edit macro that way. > > I really don't want to use PDS ALIAS technique. > > Any help would be appreciated. > > Thank You > > > *** Disclaimer *** > This communication (including all attachments) is solely for the use of the > person to whom it is addressed and is a confidential AAA communication. If > you are not the intended recipient, any use, distribution, printing, or > copying is prohibited. If you received this email in error, please > immediately delete it and notify the sender. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN