The client wants to run multiple queries using the API program ENTBJAPI under job hlq.iprfx.CSIQIJCL(BC1JAAPI). How is this done ?
Release: All Supported Releases
You can use the same message and output file ddnames with DISP=MOD :
//MSG3FILE DD DSN=&&MSG3FILE,DISP=(MOD,PASS),
// UNIT=SYSDA,SPACE=(TRK,(5,5)),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//EXT1ELM DD DSN=&&EXT1ELM,DISP=(MOD,PASS),
// UNIT=SYSDA,SPACE=(TRK,(5,5)),
// DCB=(RECFM=VB,LRECL=2048,BLKSIZE=0)
Multiple query statements in the input :
//SYSIN *
* EXTRACT AN ELEMENT WITH NO FORMAT - CURRENT VERSION & LEVEL
AACTL MSG3FILEEXT1ELM
AEELMHE ENV 1SYSTEM SUBSYS APITEST COBOL
RUN
AEELMHE ENV 1SYSTEM SUBSYS BSTTRD06 COBOL
RUN
* LAST CALL, ENSURE THAT THE API SERVER IS SHUTDOWN.
AACTLY
RUN
QUIT
/*
Alternately, you can use multiple message and output file ddnames.