Am 27.01.2014 17:34, schrieb Steve Comstock:

In LE, an enclave is a mainline and it's subroutines. Certain program
functions create a nested enclave: the invoking enclave is suspended
until the invoked enclave terminates. In particular, I seem to recall
that

* EXEC CICS LINK and EXEC CICS XCTL
* Assembler LINK
* C system() function
* PL/I fetch and call to a fetchable main PL/I procedure

all create nested enclaves; the invoked program must be a 'main' (in
the LE sense) and not a subroutine.


While I'm pretty sure that this is true for the system() call of C,
I believe that for the other types of linkage it depends on the
behaviour of the called module. For example PL/1: if you FETCH
a module which is not a MAIN, no enclave will be built. Same goes
for the MVS LINK macro (if you manage to LINK between LE modules
with the help of MVS LINK or similar mechanisms, which is possible -
for example: we do all linkage between our LE modules, no matter which language, with a home grown mechanism which relies on MVS LOAD macro and BASR, basically).
Don't know much about CICS - we have IMS.

Kind regards

Bernd

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

Reply via email to