I have written a program that reads in 80 byte cards and performs symbolic variable substitution at execution time. This program allows us to create control cards that are "environment generic" and has greatly reduced the number of redundant control cards than need to be maintained. It can even dynamically allocate and write multiple output cards in a single execution. This program works very well and has been well received by our staff. The only downside with this program is that the symbolic values have to be passed into the program on the parm. The 100 character limit has been a bit of an annoyance with this approach.
I would like to enhance this program to avoid to necessity of passing the symbolic values through the parms. I am certain I can successfully get the information I need by parsing the JESJCL. What I have not been able to find out so far is where the JESJCL data is? Is this in an MVS data area? Is it in a dataset allocated to the job? If someone can help me find out how to read the JESJCL, I will be happy to share the code with the world. For that matter I can share what I have now if anyone is interested. Thanks, Bill Bass This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ---------------------------------------------------------------------- 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