On Tue, 3 Jan 2017 20:10:56 -0600, John McKown wrote:

>On Tue, Jan 3, 2017 at 7:09 PM, Charles Mills <charl...@mcn.org> wrote:
>
>> Can COBOL read environment variables these days?
>>
>
>​Yes, via the C language subroutine "getenv()". But how would you set the
>UNIX environment variable for the job to pick it up? Via the STDENV DD
>statement?
> 
DD CEEENV?  Does that require LE and POSIX?  Would it require a JCL change?

Of course in the non-POSIX environment you could read CEEENV and parse it
ad-hoc.

-- gil

----------------------------------------------------------------------
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