Well I'll be darned. It's a good day. I learned something.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of John McKown
Sent: Friday, September 06, 2013 7:06 AM
To: [email protected]
Subject: Re: Dynamic Allocation in COBOL

setenv does not _directly_ do a dynamic allocation. It sets up an LE
environment variable, which has the same name as what is normally considered
the DD name. If the DD name in the SELECT in COBOL is not already allocated,
_and_ an LE environment variable is properly set up, _then_ the COBOL run
time will do a dynamic allocation.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to