The JCL to execute a DL/I batch application program is shown below: batch application program is shown below:
Central Version
EXECUTE BATCH APPLICATION (z/OS)
//DLI EXEC PGM=IDMSDLRC,PARM='DLI,userprog,ipsb' //STEPLIB DD DSN=idms.loadlib,DISP=SHR // DD DSN=user.loadlib,DISP=SHR //sysctl DD DSN=idms.sysctl,DISP=SHR //SYSLST DD SYSOUT=A //SYSIDMS DD * Put SYSIDMS parameters here DBNAME=database name or segment name DMCL=DMCL name if other than default of IDMSDMCL /* //SYSIN DD * any additional statements required to run DL/I application program /*
Note: The user can specify either DLI or DB in the PARM parameter. If ipsb and userprog have the same names, ipsb can be omitted. For more information about all SYSIDMS parameters, see the CA IDMS Common Facilities Guide.
|
idms.loadlib |
data set name of the CA IDMS DLI Transparency load library |
|
idms.sysctl |
data set name of the SYSCTL file |
|
ipsb |
the name of the IPSB associated with the DL/I application program |
|
sysctl |
ddname of the SYSCTL file |
|
user.loadlib |
data set name of the load library containing the DL/I application program |
|
userprog |
the name of the DL/I application program |
Local Mode
To execute the DL/I batch application program in local mode:
//sysjrnl DD DSN=idms.tapejrnl,DISP=(NEW,KEEP),UNIT=tape //userdb DD DSN=user.userdb,DISP=SHR
|
idms.tapejrnl |
data set name of the tape journal file |
|
sysjrnl |
ddname of the tape journal file |
|
tape |
symbolic device type for the tape journal file |
|
userdb |
ddname of the user database |
|
user.userdb |
data set name of the user database |
Central Version
EXECUTE BATCH APPLICATION (z/VSE)
Note: The following JCL is for use if IDMSDLRC includes IDMSDLPC in thelinkedit.
// JOB // LIBDEF *,SEARCH=(idms.library,user.library) // OPTION LOG // DLBL SYSCTL,'idms.sysctl',0,SD // EXTENT SYS000,nnnnnn // ASSGN SYS000,DISK,VOL=nnnnnn,SHR // DLBL SYSIDMS,'#SYSIPT',0,SD // EXEC IDMSDLRC sysidms parameter statements /* DLI,userprog,ipsbname /* additional JCL as required to run DL/I application program
Note: The user can specify either DLI or DB. The user can omit ipsb if it has the same name as userprog.
|
idms.library |
data set name of the CA IDMS DLI Transparency library |
|
user.library |
name of the library that contains the user's application program |
|
idms.sysctl |
name of the DL/I application program in the user's library |
|
ipsbname |
name of the IPSB (Interface PSB) that is used by the application program |
|
nnnnnn |
volume serial number |
|
userprog |
the name of the DL/I application program |
Note: The following Run-Time interface JCL is for use if IDMSDLPC is not included in IDMSDLRC.
// JOB // LIBDEF *,SEARCH=(idms.library,user.library) // OPTION LOG // DLBL SYSCTL,'idms.sysctl',0,SD // EXTENT SYS000,nnnnnn // ASSGN SYS000,DISK,VOL=nnnnnn,SHR // DLBL SYSIDMS,'#SYSIPT',0,SD // EXEC IDMSDLRC PARM='DLI,userprog,ipsbname' sysidms parameter statements /* additional JCL as required to run DL/I application program
Note: The user can specify either DLI or DB. The user can omit ipsb if it has the same name as userprog.
|
idms.library |
data set name of the CA IDMS DLI Transparency library |
|
user.library |
name of the library that contains the user's application program |
|
idms.sysctl |
name of the DL/I application program in the user's library |
|
ipsbname |
name of the IPSB (Interface PSB) that is used by the application program |
|
nnnnnn |
volume serial number |
|
userprog |
the name of the DL/I application program |
Local Mode JCL
To execute the DL/I application program in local mode:
// TLBL journal,'idms.tapejrnl' // ASSGN sys009,X'ttt' // DLBL userdb,'user.userdb' // EXTENT sys018,nnnnnn,1,ssss,llll // ASSGN sys018,dddd,VOL=nnnnnn,SHR
|
idms.tape.jrnl |
file-id of the tape journal |
|
dddd |
device assignment for the disk file |
|
journal |
filename of the tape journal |
|
llll |
number of tracks required for the disk file |
|
nnnnnn |
volume serial identifier of the appropriate disk volume |
|
sys009 |
logical-unit assignment of the tape journal file |
|
sys018 |
logical-unit assignment of the user database |
|
ssss |
relative starting track of the disk file |
|
ttt |
channel-unit assignment of the journal file |
|
userdb |
filename of the user database |
|
user.userdb |
file-id of the user database |
|
Copyright © 2013 CA.
All rights reserved.
|
|