Not as you have stated it. But it would be easy to write one in REXX. However, if this is related to your COBOL programming, then you don't need one. There is a COBOL compile parameter, NAME, which will insert the name (PROGRAM-ID) into the output of the COBOL compiler so that the Binder will see the equivalent of the " NAME program(R)" Ref: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG31/2.4.32
*PROCESS NAME(ALIAS) at the beginning of the COBOL source will do it. On Tue, Mar 26, 2013 at 7:51 AM, Bill Ashton <[email protected]> wrote: > Hi again...this should be my last annoyance for a while, I hope...You all > have been a big help in getting me going with finding my sea legs again > with this COBOL project. > > Today's question (I think I already know the answer is 'no') - Is there a > way in native JCL to take a PARM and make an output file from it? For > example, I would like to use a set statement or a PARM= symbolic to > generate the name of the load module for my LKED step. So I would like to > have: > > SET EXEPGM=MYPGM > . . . > //GENER8 EXEC PGM=?????,PARM=' NAME &EXEPGM(R)' > > and then take that output and concatenate to my LKED SYSIN (which has other > includes, entry point name, etc.). > > I have looked for this for quite a while, but don't see anything on z/OS > 1.x levels. Is this possible? > -- > Thank you and best regards, > *Billy Ashton* > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
