McKown, John wrote:
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Comstock
Sent: Friday, February 08, 2008 7:04 AM
To: [email protected]
Subject: Re: Two COBOL questions
[snip]
call 'putenv' using by value file-ptr returning rc
[snip]
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
Easier to use CEEENV than calling the C subroutine putenv(), IMO.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA3180/2.2.
5.34
I agree it's easier. But it's only available in z/OS 1.8
and later; so that's why I recommend putenv(): that's been
available for a lot longer.
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-393-8716
http://www.trainersfriend.com
z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques
----------------------------------------------------------------------
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