Joined: 30 Nov 2013 Posts: 667 Location: The Universe
The first problem with this idea is something like 1202 is not a valid index element in a data set name. It must be something like D1202.
The second problem is it is entirely unnecessary. This is why generation data groups were invented nearly 50 years ago. I strongly recommend reading Appendix A. Generation Data Sets in "MVS JCL User's Guide" for your z/OS release.
Joined: 06 Jun 2008 Posts: 8400 Location: Dubuque, Iowa, USA
If you want the LLQ to be something like DEC14, you probably can use your site's job scheduler to do so. If you don't want to use the job scheduler, plan on writing a program in the language of your choice to generate the JCL, then submit the generated JCL via the internal reader. JCL doesn't really support many features and date manipulation is NOT one of the supported features.