Previous Topic: Assembling and Executing Under z/OSNext Topic: Diagnosing Errors


Assembling and Executing Under Z/VSE

Z/VSE/Central Version

The following is the JCL for assembling and executing DBOMP Assembler programs using the transparency, in a Z/VSE operating system, under the central version. Note that you can use either an UPSI statement or a SYSCTL statement to indicate central version.

Assemble/Execute DBOMP Assembler Program Using the Transparency (IMBSBRDG) (Z/VSE)
// ASSGN SYSPCH,X'281'
// OPTION DECK
   CATALR imbstab 
// EXEC ASMA90
user input parameters for IMBS customizing macro 
   END
/*
// MTC REW,X'281'
// ASSGN SYSIPT,X'281'
// EXEC MAINT
/*
// OPTION CATAL
   PHASE pgmname 
// EXEC ASMA90
program statements 
   END
/*
   INCLUDE IMBSBRDG
   INCLUDE imbstab 
   INCLUDE IDMS
// EXEC LNKEDT
/&
// JOB EXECPGM
// UPSI     1
// DLBL SYSIDMS,'#SYSIPT',0,SD
DMCL=dmcl-name 
Other SYSIDMS runtime parameters, as appropriate 
/*
additional JCL for application program, as required 
// EXEC pgmname 
program input, as required 
/*

Note: If you are going to use the transparency frequently under the central version, consider making IMBSPROC and any applicable subschemas resident.

Z/VSE/Local Mode

To run the same job in local mode, substitute the following JCL after the // JOB EXECPGM statement:

// ASSGN sys009,X'281'
// ASSGN sys010,X'137'
// DLBL sys010,'database',,DA
// EXTENT sys010,444444,1,76,1776 
additional database assignments, as required 
additional JCL for application program, as required 
// EXEC pgmname 
// DLBL SYSIDMS,'#SYSIPT',0,SD
DMCL=dmcl-name 
Other SYSIDMS runtime parameters, as appropriate 
program input, as required 
/*

Explanation of Variables

pgmname

Name of DBOMP application program

imbstab

Dataset name for link edited output from IMBS customizing macro

sys009

Logical unit assignment for CA IDMS/DB journal file

281

Physical device assignment for CA IDMS/DB journal file

sys010

Logical unit assignment for CA IDMS/DB database file

137

Physical device assignment for CA IDMS/DB database file

database

Dataset name for CA IDMS/DB database file

444444

Serial number of disk containing CA IDMS/DB database file

76

Relative track where CA IDMS/DB database file begins

1776

Number of tracks used by CA IDMS/DB database file

dmcl-name

Name of the CA IDMS DMCL describing the CA IDMS files used by the transparency