Configuration for Adabas
When IBM® AD Connect for Mainframe is required to access Adabas, the following sample job needs to be customized. The sample job is found in the SMP/E *.SIAYSAMP library, more exactly in the IAYNATDB member. In IBM AD ParmLib library, the member name must be NATDBJOB, although the job name can be altered.
Important:
- The job is used by IBM AD Connect for Mainframe. Therefore, it shouldn’t be submitted manually.
- Make sure that this job is running on the same LPAR as the IBM AD Connect for Mainframe started task. If your shop is configured in such a way that the job might be scheduled on another system, make sure that you use the SYSTEM=* parameter in the job card, as shown in the example. The * indicates the system that submitted the job. It does not represent a wildcard substitution for any system.
- Follow the customization steps for the IAYNATDB job in the comment section of the sample JCL.
//IAYNATDB JOB <job parameters>,SYSTEM=* <== run job on same system as AD
//*
//REP EXEC PGM=ADARUN <==Modify to match your site standard
//STEPLIB DD DISP=SHR,DSN=ADABAS.ADAvrs.LOAD <=== ADABAS LOAD
// DD DISP=SHR,DSN=ADABAS.APSvrs.LDnn <=== APS load update
// DD DISP=SHR,DSN=ADABAS.APSvrs.LD00 <=== APS load base
//*
//DDASSOR1 DD DISP=SHR,DSN=EXAMPLE.DByyyyy.ASSOR1 <=== ASSO
//DDDATAR1 DD DISP=SHR,DSN=EXAMPLE.DByyyyy.DATAR1 <=== DATA
//DDWORKR1 DD DISP=SHR,DSN=EXAMPLE.DByyyyy.WORKR1 <=== WORK
//DDSAVE DD DISP=SHR,DSN=EXAMPLE.DByyyyy.SAVE <=== SAVE DATASET
//*
//DDDRUCK DD DSN=IAY.NATURAL.DB.TASK%TKK,DISP=SHR <=the DSN for IAYDR0nn ..
//* ...DD names allocated by the AD Connect STC.
//* The %TKK suffix must remain.
//DDCARD DD *
ADARUN PROG=ADAREP,SVC=%SVC,DEVICE=%DEV,DBID=%DBI
/*
//DDKARTE DD *
ADAREP REPORT
/*
// IF (ABEND=TRUE|ABEND=FALSE) THEN
//POST EXEC PGM=IAYPOST
//STEPLIB DD DISP=SHR,DSN=IAYV510.SIAYAUTH <== Set to your AD loadlib
//SYSUDUMP DD SYSOUT=*
//INDCB DD *
// ENDIF
/*
In addition, create datasets called IAY.NATURAL.DB.TASKnn as sequential files with record format FB and record length 133, where nn goes from 01 to the number of tasks specified in MAXTASK.