Sample z/VSE JCL

The process of installating IDMS includes the following steps.
idms
Library, Dataset, and File Name References in z/VSE JCL
The process of installating IDMS includes the following steps:
  1. An IDMS library is created or updated with a number of sub-libraries. For ease of access, the IDMS library can be added to standard labels.
  2. IDMSLBLS.PROC is installed into the IDMS library.
What is the IDMSLBLS Procedure
IDMSLBLS is a procedure provided during a CA IDMS z/VSE installation. It contains file definitions for the following CA IDMS components which are provided during installation:
  • Dictionaries
  • Sample databases
  • Disk journal files
  • SYSIDMS file
The IDMSLBLS procedure is tailored during the installation to reflect the file names and definitions in use at your site.
The sample z/VSE JCL provided in this document includes the IDMSLBLS procedure. Therefore, individual file definitions for CA IDMS dictionaries, sample databases, disk journal files, and SYSIDMS file are not included in the sample JCL.
References are made to the following libraries, datasets, and file names in z/VSE JCL or elsewhere in this section:
For more information on libraries and datasets see the
Installing section for z/VSE
.
  • asfData
    Filename of the ASF Data (IDMSR-AREA2) area
  • asfdefn
    Filename of the ASF Data definition (IDMSR-AREA2) area
  • asfdml
    Filename of the ASF dictionary definition (DDLDML) area
  • asflod
    Filename of the ASF dictionary definition load (DDLDCLOD) area
  • dccat
    Filename of the system dictionary catalog (DDLCAT) area
  • dccatl
    Filename of the system dictionary catalog load (DDLCATLOD) area
  • dccatx
    Filename of the system dictionary catalog index (DDLCATX) area
  • dcdml
    Filename of the system dictionary definition (DDLDML) area
  • dclod
    Filename of the system dictionary definition load (DDLDCLOD) area
  • dclog
    Filename of the system log (DDLDCLOG) area
  • dcmsg
    Filename of the system message (DDLDCMSG) area
  • dcrun
    Filename of the system queue (DDLDCRUN) area
  • dcscr
    Filename of the system scratch (DDLDCSCR) area
  • dictdb
    Filename of the application dictionary definition area
  • dirldb
    Filename of the IDMSDIRL definition (DDLDML) area
  • dirllod
    Filename of the IDMSDIRL definition load (DDLDCLOD) area
  • dloddb
    Filename of the application dictionary definition load (DDLDCLOD) area
  • empdemo
    Filename of the EMP-DEMO-AREA area
  • empldemo
    Filename of the EMPLAREA area
  • idmsloga
    Filename of the first sequential log file
  • idms.appldict.ddldclod
    File-ID of the application dictionary definition load (DDLDCLOD) area
  • idms.appldict.ddldml
    File-ID of the application dictionary definition (DDLDML) area
  • idms.asfdict.asfData
    File-ID of the ASF Data (IDMSR-AREA2) area
  • idms.asfdict.asfdefn
    File-ID of the ASF Data definition (IDMSR-AREA) area
  • idms.asfdict.ddldclod
    File-ID of the ASF dictionary definition load (DDLDCLOD) area
  • idms.asfdict.ddldml
    File-ID of the ASF dictionary definition (DDLDML) area
  • idmslib.custlib
    Name of the library.sublib containing CA IDMS programs customized for your site during the installation process or created during post-installation configuration.
  • idmslib.dbalib
    Name of the library.sublib containing the DMCL, Database name table, and programs associated with demo databases
  • idms.empdemo.emdemo
    File-ID of the EMP-DEMO-AREA area of the Commonweather Database
  • idms.empdemo.insdemo
    File-ID of the INS-DEMO-AREA area of the Commonweather Database
  • idms.empdemo.orgdemo
    File-ID of the ORG-DEMO-AREA area of the Commonweather Database
  • idmslib.idmsbase
    Name of the library.sublib containing the installed non-customized CA IDMS modules
  • idmslib.idmsupp
    Name of the library.sublib containing the CA IDMS module used for Upper-Case-Only Terminal support
  • idms.j1jrnl / idms.j4jrnl
    File-ID of the first through fourth disk journal file
  • idms.projseg.projdemo
    File-ID of the PROJAREA area of the Commonweather (SQL-defined) Database
  • idms.sqldemo.empldemo
    File-ID of the EMPLAREA area of the Commonweather (SQL-defined) Database
  • idms.sqldemo.indxdemo
    File-ID of the INDXAREA area of the Commonweather (SQL-defined) Database
  • idms.sqldemo.infodemo
    File-ID of the INFOAREA area of the Commonweather (SQL-defined) Database
  • idms.startup.loadlib
    File-ID of the load library containing the IDMS startup module
  • idms.sysctl
    File-ID of the SYSCTL file
  • idms.systrk
    File-ID of the SYSTRK file
  • idms.sysdirl.ddldclod
    File-ID of the IDMSDIRL definition load (DDLDCLOD) area
  • idms.sysdirl.ddldml
    File-ID of the IDMSDIRL definition (DDLDML) area
  • idms.sysloc.ddlocscr
    File-ID of the local mode system scratch (SYSLOC.DDLOCSCR) area
  • idms.sysmsg.ddldcmsg
    File-ID of the system message (DDLDCMSG) area
  • idms.syssnap
    File-ID of the sequential log file
  • idms.syssql.ddlcat
    File-ID of the SQL catalog (DDLCAT) area
  • idms.syssql.ddlcatld
    File-ID of the SQL catalog (DDLCATLOD) area
  • idms.syssql.ddlcatx
    File-ID of the SQL catalog index (DDLCATX) area
  • idms.system.ddldccat
    File-ID of the system dictionary catalog (DDLCAT) area
  • idms.system.ddlcatld
    File-ID of the system dictionary catalog load (DDLCATLOD) area
  • idms.system.ddldcatx
    File-ID of the system dictionary catalog index (DDLCATX) area
  • idms.system.ddldclod
    File-ID of the system dictionary definition load (DDLDCLOD) area
  • idms.system.ddldclog
    File-ID of the system log (DDLDCLOG) area
  • idms.system.ddldcrun
    File-ID of the system queue (DDLDCRUN) area
  • idms.system.ddldcscr
    File-ID of the system scratch (DDLDCSCR) area
  • idms.system.ddldml
    File-ID of the system dictionary definition (DDLDML) area
  • idms.sysuser.ddlsec
    File-ID of the system user catalog (SYSUSER.DDLSEC) area
  • indxdemo
    Filename of the INDXAREA area
  • infodemo
    Filename of the INFOAREA area
  • insdemo
    Filename of the INS-DEMO-AREA area
  • j1jrnl / j4jrnl
    Filename of the first through fourth disk journal file
  • language.runtime.lib
    File-ID of the runtime support library for COBOL, PL/I, and so on.
  • orgdemo
    Filename of the ORG-DEMO-AREA area
  • projdemo
    Filename of the PROJDEMO area
  • region-size
    Size of the region in which the DC/UCF system is built; this amount should include the storage specified on the FREESTG startup PARM.
  • secdd
    Filename of the system user catalog (SYSUSER.DDLSEC) area
  • sqldd
    Filename of the SQL catalog (DDLCAT) area
  • sqllod
    Filename of the SQL catalog load (DDLCATLOD) area
  • sqlxdd
    Filename of the SQL catalog index (DDLCATX) area
  • sysctl
    Filename of the SYSCTL file
  • systrk
    Filename used for SYSTRK files
    For more information on referencing SYSTRK files, see Change Tracking.
  • userdb
    Filename of the user Database or application dictionary file
  • user.userdb
    File-ID of the user Database or application dictionary
  • user.appllib
    Name of the library.sublib containing user-written application programs.
z/VSE Assemble JCL
Use the following JCL to assemble a source module and catalog the resulting object deck:
// LIBDEF *,SEARCH=(
idmslib.custlib
,                                   X                
idmslib.idmsupp
,                                        X                
idmslib.idmsbase
)                           // LIBDEF *,CATALOG=idmslib.custlib                                       // DLBL IJSYSPH,’WRK1WORK’                      // EXTENT  SYSPCH,
wrkvol,1,0,begin-track,number-of=tracks
ASSIGN  SYSPCH,DISK,VOL=
wrkvol
,SHR // OPTION  DECK,LIST,NORLD,NOXREF                                        // EXEC ASMA90,SIZE=(ASMA90,64K),                                      X                PARM='CPAT(SYSL),EX(LBX(EDECKXIT(ORDER=AE))),FOLD,OP(ESAX                )'                                                                 
Assembler input statements
                                 END                                                             /*                                                                       CLOSE SYSPCH,PUNCH // DLBL IJSYSIN,'WRK1WORK' // EXTENT SYSIPT,wrkvol ASSIGN SYSIPT,DISK,VOL=wrkvol,SHR // EXEC LIBR,PARM='ACCESS SUBLIB=
idmslib.custlib
' CLOSE SYSIPT,READER /*
z/VSE Link JCL
Use the following JCL to link an executable phase using previously assembled object modules:
// LIBDEF *,SEARCH=(
idmslib.custlib
,                                   X                
idmslib.idmsupp
,                                        X                
idmslib.idmsbase
)                           // LIBDEF PHASE,CATALOG=
idmslib.custlib
                                  // OPTION CATAL   
Linkage editor control statements
// EXEC LNKEDT,SIZE=128K,PARM=’MSHP’ /* 
z/VSE DC/UCF Startup JCL
Use the following JCL to start your DC/UCF system
// OPTION LOG // LIBDEF *,SEARCH=(idmslib.sublib) // LIBDEF PHASE,CATALOG=(idmslib.sublib) // EXEC PROC=IDMSLBLS *Additional database file assignments, as necessary *Additional teleprocessing network definitions, as necessary *Additional journal file assignments, as necessary // EXEC IDMSDC,SIZE=40K Input SYSIDMS parameters, as necessary /*