Previous Topic: Syntax Generator JCLNext Topic: Assemble DBDs


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