The example given in the first link uses calls to the POSIX setenv() function 
to set the value of the environment variable.  LE has a non-POSIX function to 
do the same thing, meaning you can create a regular load module in a PDS rather 
than a program object in a PDSE.

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ceea300/clcenv.htm

That chapter has a COBOL example for calling CEEENV.

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Phil Sidler
Sent: Friday, November 18, 2016 11:04 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How to tell COBOL to read a concatenation of GDGs

See if this helps you.

https://mainframe.elevengestures.com/processing-a-gdg-in-any-order/

A combination of using ISGCSI00 and COBOL's dynamic allocation
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR50/4.2.3.1

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to