We in the SHARE LNGC project are ALWAYS willing to accept new requirements for LE callable service.
If you are a SHARE member, please feel free to submit such a requirement (for accessing JCL symbolics - and/or other JCL-known "values"). "Larry Bertolini" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > The "PARM=" thread has inspired some Friday-afternoon thinking... > > JCL is sort of the "shell" program for MVS batch. > > One enhancement, that I'd like to see, is for the JCL "shell" > to share "environment" info with the programs that it calls. > By "environment", I mean the set of name-value pairs defined > by SET statements, and perhaps a few other values (e.g. JOBNAME, > STEPNAME, JOB NUMBER, etc.). > > JOBNAME, STEPNAME, JOB#, etc. are available to those who wish > to hike through the control blocks. As far as I know, JCL-defined > symbols are not available at run-time. I'd like to see a > documented programming interface to this information. > > So, for example, if JCL says: > > // SET PARM1=FOO > // SET PARM2=PHU > //S1 EXEC PGM=SCHMOE > > I'd like for program SCHMOE to be able to access the "symbol table". > Perhaps the interface is just a pointer to the table; perhaps it is > an callable routine, or a Language Environment function. If an > application program could modify the the symbol table (e.g. define > new environment variables) that would be very cool. ---------------------------------------------------------------------- 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

