On Tue, 25 Nov 2008 04:52:11 -0600, Jan MOEYERSONS <[EMAIL PROTECTED]> wrote:
>On Mon, 24 Nov 2008 15:39:37 -0600, Schneiderwent, Craig - DOT ><[EMAIL PROTECTED]> wrote: > >>I believe your fears are become manifest and that you must have DSNELI for >batch, DSNCLI for CICS, and DSNRLI in a stored procedure environment. > >This can be solved by writing a COBOL routine named DSNHLI that does >nothing but call DSNHLI dynamically. Link this routine statically into all of >your >application programs. At runtime, the //STEPLIB needs to concatenate the >library containing the stub of the corresponding environment. >A similar approach should work for EZASOKET. Hi Jantje, This is an intriguing idea. I don't currently have DB2 for z/OS installed and we don't seem to have our CICS set up properly to hand EZASOKET at the moment. What I *do* have, though, is IMS, which seems to have a similar issue. I just wrote a non-CICS subroutine that calls IMS (CBLTDLI). If I do static linking of CBLTDLI from the IMS load library (SDFSRESL) then this routine does not work under CICS. I have to link CBLTDLI from the CICS load library (SDFHLOAD). That is the bad news. The good news, however, is if I do a *dynamic* call to CBLTDLI then it *does* work. (Well, once I defined CBLTDLI to CICS as an assembler program.) In batch it loads CBLTDLI from SDFSRESL, where it is an alias for DFSLI000. In CICS it loads CBLTDLI from SDFHRESL, where it is an alias for DFHDLIAI. I see that both DSNCLI and DSNHLI are in SDFHLOAD as aliases for DFHD2LI, so it seems like as long as I used the DYNAM compile option for by DB2 subroutines this should also work. I'll have to fool around a bit with EZASOKET. I wonder if I copy EZACICAL to SDFHRESL and then create an alias EZASOKET that points to it... Seems like that might work. Can't hurt to try. Thanks! Frank ---------------------------------------------------------------------- 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

