Jerry,
A DB2 external stored procedure executes "fenced" that is to say,
outside of the DB2 normal address spaces.  To do this, DB2 utilizes WLM
Application Environments. In the definition (in the DB2 catalog) for the
SP is the name of the load module to execute, and the application
environment.   When the SP is called, DB2 and WLM will get an address
space running (using the PROC named in the WLM AE definition).  A task
in this address space will then link to the named load module.  So the
stored procedure program, along with any modules needed will execute in
this WLM AE started task address space.
Hope this helps,

Wayne Driscoll
Product Developer
JME Software LLC
NOTE:  All opinions are strictly my own.


 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Support, DUNNIT SYSTEMS LTD.
Sent: Thursday, February 07, 2008 1:50 PM
To: [email protected]
Subject: Re: WLM for toddlers

It's me, the guy who started this thread. I'm not actually sure I got an
aswer 
to my original question. Maybe this will help.

We have a customer who says they have a:

"compiled/linked COBOL load module invoked from a DB2 sp that runs in
the 
WLM address space."

That's what I need to understand. Does the COBOL module actually run
within 
the WLM address space? Or does it run in a separate started task and
such 
started tasks are what the SPs run within? Or can it be both and, if so,
what 
determines where the COBOL module runs?

TIA,
Jerry

On Wed, 6 Feb 2008 10:45:44 -0500, Craddock, Chris 
<[EMAIL PROTECTED]> wrote:
>> Besides reading a RedBook or 2, how can I get a little "Hello World"
>> progam
>> executed through WLM on our ADCD installed z/OS 1.8 system? I've zero
>WLM
>> experience. Or is life a lot more complicated than I wish?
>
>Through WLM? Que?

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

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

Reply via email to