I thought of that, it's not available in our release of LE. We are still on zOS 1.4 with Cobol LE 2.2.1. (we are upgrading but that's taking time)
TSO seemed the cleaner solution over the GETENV and PUTENV routines of C. Darren -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth E Tomiak Sent: Sunday, October 21, 2007 8:47 AM To: [email protected] Subject: Re: How to read source from a PDS member Use the Language Environment routine to dynamically allocate the dataset (member) and skip having to run TSO. Puts the program name you are executing back in the JCL. Now if only DB2 would get smarter. Although, if you work at, even your DB2 programs can be run from the EXEC PGM= JCL statement. ---------------------------------------------------------------------- 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

