Jim McAlpine wrote:
We have just started down the road of trying to invoke java classes from
batch COBOL but have hit a problem with the 100 character PARM field length
because we need to specify several runtime options such as ENVAR=....,
POSIX(ON) AND XPLINK(ON) on top of our own parameters. Is there a way to
change the runtime options dynamically from a COBOL program which is
already
running in an LE environment.
Jim McAlpine
Well, you can certainly change environment variables
dynamically. You can either call the C putenv() function
directly from COBOL or, if you are z/OS 1.8 you can call
the new LE function CEEENV.
<ad>
Calling C functions from COBOL is discussed, demonstrated,
and included as a lab in our 2-day course "Enterprise COBOL
Update I: Essentials"; details:
http://www.trainersfriend.com/COBOL_Courses/d704descr.htm
All of the LE callable functions are discussed, as well
as much more, in our 3-day course "Using LE Services in
z/OS"; this course is multi-lingual: Lectures can include
examples in, and labs may be run in any of: Assembler,
COBOL, PL/I, C; details:
http://www.trainersfriend.com/Language_Environment_courses/m512descr.htm
</ad>
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-393-8716
http://www.trainersfriend.com
-- to be included in our opt-in list of announcements of
-- new courses and other products and services from The
-- Trainer's Friend, send an email to [EMAIL PROTECTED]
----------------------------------------------------------------------
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