Can the CA APAS V4.1 DBGLNK5 and/or r5.1 DBGLNK link routine modules be used with the reentrant ADALNKR link routine from Software AG (SAG)?

Document ID : KB000055204
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The normal Software AG Batch/TSO link routine module ADALNK is not reentrant. There is a special procedure for creating a reentrant Batch/TSO version of ADALNK called ADALNKR. Can the CA APAS Batch/TSO link routine modules: DBGDRIVK, DBGSTACK, and DBGLNK5 (V4.1) or DBGLNK (r5.1) be used with ADALNKR?

Solution:

Yes, the CA APAS DBG link routine modules are written fully re-entrant.

For Adabas V8.1 and CA APAS r5.1, assemble and link ADALNKR8 according to the Software AG instructions. Review the 'z/OS Batch and TSO Installation' section in the CA APAS Installation Guide for details on how to modify the Software AG LNKRGBL source member and linking the CA APAS DBG modules with ADALNKR.

For Adabas V7.4 and CA APAS V4.1, include the CA APAS link modules DBGDRIVK, DBGSTACK and DBGLNK5 in the final link edit step of ALNKLNKR in the Software AG ADA74x JOBS library:

//LINKALL  PROC VRS=,USERLIB= 
 //LKED     EXEC PGM=HEWL,REGION=2M,COND=(5,LT), 
 //   PARM='XREF,LIST(ALL),LET,MAP,NCAL,REUS=RENT' 
 //SYSPRINT DD  SYSOUT=* 
 //ADALIB   DD  DISP=SHR,DSN=ADABAS.&VRS..MVSLOAD 
 //DBGLIB   DD  DISP=SHR,DSN=hlq.mlq.APASVVVV.LOAD 
 //SYSLMOD  DD  DISP=SHR,DSN=&USERLIB 
 //SYSLIN   DD  DDNAME=SYSIN 
 //         PEND 
 //LINKUES  EXEC LINKALL,VRS=Vvrs, 
 //             USERLIB='YOUR.USER.LOADLIB' 
 //LKED.SYSIN  DD  * 
 MODE AMODE(31),RMODE(ANY) 
 INCLUDE ADALIB(ADALNKR) 
 INCLUDE ADALIB(LNKUES) 
 INCLUDE ADALIB(ASC2EBC) 
 INCLUDE ADALIB(EBC2ASC) 
 INCLUDE DBGLIB(DBGDRIVK)
 INCLUDE DBGLIB(DBGSTACK)
 INCLUDE DBGLIB(DBGLNK5) 
 ENTRY ADABAS 
 NAME ADALNKR(R) 
 /*