There is a solution the basic problem. Consider setting up a REXX-based or some other batch job that runs at midnight and generates various desired JCL symbolics, for example, today, today-1, current-week previous-week (and in various formats). Then use a JCL INCLUDE statement to access the symbolics.
Although, as others have echoed on this list, various conditions could create undesirable results, such as a job-restart on day #2 (after initial submission). Let's see about solving the immediate need rather than complaining about the restriction, people. Sincerely, Scott Barry SBBWorks, Inc. _____________________ Date: Sun, 27 Aug 2006 13:36:29 -0500 From: Ken Hansen <[EMAIL PROTECTED]> Somewhere I remember something like this being done. But my research has note produced a workable answer. I am looking to run an inline proc that will insert the rundate from the System into a data set name in a JES2 environment. Generation data sets will not work for this situation. I am thinking it ought to look something like this: //MYPROC PROC . . // DD DISP=(,CATLG,DELETE),DSN=HLQ1.HLQ2.&MYDATE..FIELDB . . // PEND //STEP EXEC MYPROC,MYDATE=&SYSDATE This does not work. If anyone can tell me how to correct this, I would appreciate your input. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

