Specifying site default values for IMS compatible JCL
To specify site default values for your environment, you must create source code for the site default table by using the FABJTGEN program. Then, assemble and link-edit the source code.
Procedure
Example
The following figure shows the FABJDFLX sample for creating the FABJGLI0 source code and assembling and link-editing the source code.
//FABJDFLX JOB
//*-------------------------------------------------------------------*
//* This JCL consists of following three steps *
//* 1. Generating source code of your site default definition. *
//* 2. Assemble source code of your site default table. *
//* 3. Link-Edit your site default table module. *
//* *
//*-------------------------------------------------------------------*
//* Make the following global changes for this job: *
//* *
//* 1. The JOB statement should be modified to suit your *
//* environment. *
//* *
//* 2. Substitute your dsname where the site default module *
//* is mad for the string "$site_def_lib". *
//* 'CHANGE $site_def_lib your_site_def_lib_name ALL' *
//* *
//* 3. Substitute your dsname High Level Qualifier (HLQ) for IMS *
//* HP Image Copy data sets for the string *
//* "$hpichlq". *
//* 'CHANGE $hpichlq.SHPS your_hlq.SHPS ALL' *
//* 6. Substitute your group-name or unit number for UNIT *
//* parameters for the group-name "SYSALLDA", if applicable. *
//* 'CHANGE SYSALLDA your_sysda ALL' *
//*-------------------------------------------------------------------*
//*
// SET HPICLIB=$hpichlq.SHPSLMD0
// SET LIBNAME=$site_def_lib
//* *
//*-------------------------------------------------------------------*
//* FABGTGEN Process - Generate Table Source for IMS Compatible JCL*
//*-------------------------------------------------------------------*
//TGEN PROC
//GEN EXEC PGM=FABJTGEN,REGION=0M
//*
//STEPLIB DD DISP=SHR,
// DSN=&HPICLIB
//*
//SYSPRINT DD SYSOUT=*
//SYSPUNCH DD DISP=(NEW,PASS,DELETE),
// DCB=(RECFM=FB,BLKSIZE=800),
// SPACE=(TRK,(1,1)),
// DSN=&&SOURCE,
// UNIT=SYSALLDA
//SYSUDUMP DD DUMMY
//*
//ASM EXEC PGM=ASMA90,COND=(4,LT,GEN),
// PARM='OBJECT,NODECK,LIST,XREF(SHORT)'
//SYSLIB DD DISP=SHR,
// DSN=SYS1.MACLIB
//SYSLIN DD DISP=(,PASS),
// SPACE=(CYL,(5,5,0)),
// DCB=(BLKSIZE=400),
// DSN=&&OBJECT,
// UNIT=SYSALLDA
//SYSUT1 DD UNIT=SYSALLDA,
// DISP=(,DELETE),SPACE=(CYL,(10,5))
//SYSPUNCH DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSIN DD DISP=(OLD,DELETE,DELETE),
// DSN=&&SOURCE
//*
//L EXEC PGM=IEWL,COND=(4,LT,ASM),REGION=4096K,
// PARM='LIST,REFR,REUS,AMODE=24,RMODE=24'
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSN=&OBJECT,
// DISP=(OLD,DELETE,DELETE)
//*
// PEND
//*
//GO EXEC TGEN
//*
//GEN.ICEIN DD *
*-------------------------------------------*
* YOUR SITE DEFAULT DEFINITION *
*-------------------------------------------*
TABLEGEN TYPE=IMSJCL
GLOBAL COMP=Y,
COMPRTN=FABJCMP2,
HDPC=Y,
DEDBPC=S,
*
HPIO=Y,
COMPMODE=COND,
*
DBBUF=120,
DSBUF=20,
ICBUF=20
/*
//L.SYSLMOD DD DISP=SHR,
// DSN=&LIBNAME(FABJGLI0)
//*
//