DB2-STP and DSNRLI

Thorsten Tovacovsky

DB2-STP and DSNRLI
Hello,

an other StoredProcedure question...

We have (test) batch-applications that call STPs. The STPs where linked
with the DSNRLI (DB2 and RRS) interface.

Should I link the batch-applications with DSNRLI, too ???

Does someone know what DSNRLI does more than, for example, DSNELI ?

Regards...Thorsten



James Campbell

Re: DB2-STP and DSNRLI
(in response to Thorsten Tovacovsky)
Thorsten,

Do not link DSNRLI into your batch programs - unless you modify
them so they use DSNRLI to create the connection between them
and DB2.

Each of the DSNxLI modules is specific to the way the linkage is
created. If you invoke the programs by using
DSN SYSTEM(xxxx)
RUN PROGRAM(yyyyyyy) etc
then you _must_ use DSNELI.

You use DSNRLI if you also use calls to DSNRLI to create the
attachment. In the SP environment, DB2 has done this for you.

Yes, DSNRLI can do more than DSNELI - but you have work to
make it happen.

James Campbell

On 6 Jan 2002 at 13:18, Thorsten Tovacovsky wrote:

> Hello,
>
> an other StoredProcedure question...
>
> We have (test) batch-applications that call STPs. The STPs where linked
> with the DSNRLI (DB2 and RRS) interface.
>
> Should I link the batch-applications with DSNRLI, too ???
>
> Does someone know what DSNRLI does more than, for example, DSNELI ?
>
> Regards...Thorsten
>
>
>