On Fri, 5 Jun 2009 16:41:39 +0100, Andy Robertson 
<[email protected]> wrote:

>The problem is you can't CALL a subprogram with EXEC CICS in it - as I
>understand it.  You have to EXEC CICS LINK to it.  This ends up defeating

No issue CALLing a sub-program from a CICS program. You really do not need 
an E C LINK for that.

Mind you, the calling conventions for CALL and E C LINK are of course 
different. 

And your sub-program will still need to E C DELAY when running in CICS.

Best thing IMHO to do is to check whether or not you are running in CICS. If 
you are, then E C DELAY, else just wait using your preferred way of doing a 
wait in a batch program.

Cheers,

Jantje.

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