On Tue, 12 Jun 2007 15:17:57 -0500, Kirk Wolf <[EMAIL PROTECTED]> wrote:
>Does anyone know how to read the current JCL symbols from a program? > >Kirk Wolf >Dovetailed Technologies > I have a customer who maintains a simple program for the purpose of writing the PARM= value out to an allocated DD. This technique is used extensively to allow user (JCL) and system symbolics to be referenced by JCL jobstreams and are used for many purposes (for example, building JCL on-the-fly, passing strings to a user program, something like SYSIN but with ability to reference resolved symbolic information.) I can see where a similar technique could address your requirement, specifically to pass the PARM= in a job-step, have the "resolved data" be written to an intermediate dataset allocation (and maybe multiple steps using MOD,PASS), and finally on to your user program which would read-up and use the DD having one or more card-images, each having a particular user-JCL or system symbolic resolved. You must write a program that gains access to the PARM= data and writes the data to an OUTPUT DD. Obviously the PARM= has a string-length limitation for consideration. Sincerely, Scott Barry SBBWorks, Inc. ---------------------------------------------------------------------- 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

