Syntax Generator JCL

Contents
idms
Contents
Assemble a PSB
The JCL to assemble a PSB for use when generating IPSB source statements is shown below:
PSB (z/OS)
//JOB //ASM  EXEC PGM=ASMA90 //SYSPRINT DD SYSOUT=A //SYSLIB DD DSN=yourHLQ.CAGJSRC,DISP=SHR //SYSUT1 DD DSN=&&SYSUT1,UNIT=disk,SPACE=(1700,(600,100)) //SYSUT2 DD DSN=&&SYSUT2,UNIT=disk,SPACE=(1700,(300,50)) //SYSUT3 DD DSN=&&SYSUT3,UNIT=disk,SPACE=(1700,(30,50)) //SYSPUNCH  DD DUMMY //SYSGO  DD DSN=&&OBJSET,UNIT=SYSDA,SPACE=(80,(200,50)),     DISP=(MOD,PASS) //SYSIN  DD  * Insert PSB source code here. /* //SYSIN  DD  * //LINK   EXEC PGM=HEWL //SYSPRINT  DD  SYSOUT=A //SYSUT1 DD DSN=&&SYSUT1,UNIT=disk,SPACE=(1024,(50,20)) //SYSLMOD   DD  DISP=SHR,DSN=user.loadlib(psbname)  //SYSLIN DD DSN=&&OBJSET,DISP=(OLD,DELETE) //       DD  DDNAME=SYSIN //
yourHLQ.CAGJSRC
data set name of the CA IDMS/DB source library
disk
symbolic device type for a disk file
psbname
member name of the PSB
user.loadlib
data set name of the load library that is to contain the resulting assembled PSB
PSB (z/VSE)
// JOB // LIBDEF *, SEARCH=idms.library // LIBDEF *, CATALOG=user.library // OPTION CATAL    PHASE psbname,* // EXEC  ASSEMBLY insert PSB source code here /* // EXEC  LNKEDT
idms.library
name of the CA IDMS/DB source library
user.library
name of the library that is to contain the resulting assembled PSB
psbname
name of the PSB source statements
Assemble DBDs
The JCL to assemble DBDs for use when generating IPSB source statements is shown below:
DBD (z/OS)
//JOB //ASM       EXEC  PGM=ASMA90 //SYSPRINT  DD  SYSOUT=A //SYSLIB    DD DSN=yourHLQ.CAGJMAC,DISP=SHR //SYSUT1    DD DSN=&&SYSUT1,UNIT=disk,SPACE=(1700,(600,100)) //SYSUT2    DD DSN=&&SYSUT2,UNIT=disk,SPACE=(1700,(300,50)) //SYSUT3    DD DSN=&&SYSUT3,UNIT=disk,SPACE=(1700,(30,50)) //SYSPUNCH  DD DUMMY //SYSGO     DD DSN=&&OBJSET,UNIT=SYSDA,SPACE=(80,(200,50)),DISP=(MOD,PASS) //SYSIN     DD  * DBD source code  /* //LINK      EXEC  PGM=HEWL //SYSPRINT  DD  SYSOUT=A //SYSUT1 DD DSN=&&SYSUT1,UNIT=disk,SPACE=(1024,(50,20)) //SYSLMOD   DD  DISP=SHR,DSN=user.loadlib(dbdname)  //SYSLIN DD DSN=&&OBJSET,DISP=(OLD,DELETE) //
yourHLQ.CAGJMAC
data set name of the CA IDMS/DB macro library
dbdname
member name of the DBD
disk
symbolic device type for a disk file
user.loadlib
data set name of the load library that is to contain the resulting assembled DBD
DBD (z/VSE)
// JOB // LIBDEF *,SEARCH=idms.library' // LIBDEF *,CATALOG=user.library // OPTION CATAL    PHASE dbdname,* // EXEC  ASSEMBLY insert DBD source code here  /* // EXEC  LNKEDT
idms.library
name of the CA IDMS/DB source library
user.library
name of the library that is to contain the resulting assembled DBD
dbdname
name of the DBD source statements
Execute the Syntax Generator
The JCL to execute the syntax generator is shown below:
SYNTAX GENERATOR (z/OS)
//JOB //IPSBGEN   EXEC  PGM=IDMSDLPG //STEPLIB   DD DISP=SHR,DSN=idms.loadlib  //       DD DISP=SHR,DSN=user.loadlib  //SYSLST DD  SYSOUT=A //SYSPCH DD DSN=user.syntax,DISP=(NEW,CATLG),SPACE=(TRK,5),     DCB=(LRECL=80,BLKSIZE=4000,RECFM=FB) //SYSIPT DD  * compiler-directive statements generator statements  /*
idms.loadlib
data set name of the CA IDMS/DB load library
user.loadlib
data set name of the load library that contains the assembled PSB and DBDs
user.syntax
data set name for the file that is to contain the resulting source statements
SYNTAX GENERATOR (z/VSE)
// JOB // DLBL IDMSPCH,'idms.user.syntax' // EXTENT SYS016,nnnnnn // LIBDEF *,SEARCH=user.library // EXEC IDMSDLPG compiler-directive statements generator statements  /* /&
idms.user.syntax
name of the source library that is to contain the generated SCHEMA, SUBSCHEMA, DMCL or ISPSB source statements
nnnnnn
volume serial identifier
user.library
name of the library that contains the assembled DBDs/PSBs