Previous Topic: z/VSE JCLNext Topic: ADSOBTAT


z/VM commands

Sample z/VM Commands for Central Version

ADSOBSYS (z/VM)

FILEDEF SYSLST PRINTER
FILEDEF SYSPCH DISK opti TEXT a (LRECL 80 BLKSIZE 400 RECFM FB
FILEDEF SYSIDMS DISK sysidms input a
FILEDEF SYSIPT DISK bsys input a
GLOBAL LOADLIB idmslib
OSRUN ADSOBSYS
FILEDEF SYSPRINT PRINTER
TXTLIB DEL utextlib opti
TXTLIB ADD utextlib opti
FILEDEF SYSLMOD DISK uloadlib LOADLIB a6 (RECFM V LRECL 1024 BLKSIZE 1024
FILEDEF objlib DISK utextlib TXTLIB a
LKED linkctl (LET LIST NCAL

Linkage editor control statements (linkctl):

INCLUDE objlib (opti)
ENTRY opti
NAME opti(R)

sysidms input a

filename, filetype, and filemode of the file containing the SYSIDMS input parameters

bsys input a

file identifier of the file containing ADSOBSYS source statements

idmslib

filename of the CA IDMS LOADLIB library

linkctl

filename of the file containing the linkage editor control statements; the file must have the filetype of TEXT

objlib

ddname of the user TXTLIB library

opti

filename of the file for the ADSOOPTI module

opti TEXT a

file identifier of the file for the ADSOOPTI module

uloadlib LOADLIB a6

file identifier of the user LOADLIB library

utextlib

filename of a user TXTLIB library

Note: For more information about SYSIDMS parameters, see the CA IDMS Database Administration.

Sample z/VM Commands for Local Mode

To execute ADSOBSYS in local mode, add the following commands before the OSRUN command:

FILEDEF sysjrnl TAP1 SL VOLID nnnnnn (RECFM VB LRECL 111 BLKSIZE bbb
FILEDEF dictdb DISK dictdb dictfile d (RECFM F LRECL ppp BLKSIZE ppp XTENT nnn
FILEDEF dloddb DISK dloddb dictfile f (RECFM F LRECL ppp BLKSIZE ppp XTENT nnn
FILEDEF dmsgdb DISK dmsgdb dictfile e (RECFM F LRECL ppp BLKSIZE ppp XTENT nnn

bbb

block size of the tape journal file

dictdb

ddname of the data dictionary DDLDML area

dictdb dictfile d

file identifier of the data dictionary DDLDML area

dloddb

ddname of data dictionary load area (DDLDCLOD)

dloddb dictfile f

file identifier of the data dictionary load area

dmsgdb

ddname of data dictionary message area (DDLDVM/ESAG)

dmsgdb dictfile e

file identifier of the data dictionary message area

lll

record length of the tape journal file

nnnnnn

volume serial number of the tape journal file

ppp

page size of the area

sysjrnl

ddname of the tape journal file

Specifying Central Version or Local Mode

To specify whether ADSOBSYS executes under central version or in local mode, perform one of the following actions:

  1. Specify either CVMACH=dc/ucf-machine-name (for central version) or *LOCAL* (for local mode) as the first statement to submit to ADSOBSYS. Dc/ucf-machine-name is the 1- through 8-character user identifier of the z/VM virtual machine in which the DC/UCF system is executing.
  2. Link edit ADSOBSYS with an IDMSOPTI module that specifies either CVMACH=dc/ucf-machine-name (for central version) or CENTRAL=NO (for local mode). Instructions for creating an IDMSOPTI module are given in CA IDMS System Operations Guide.
  3. Code PARM='CVMACH=dc/ucf-machine-name' or PARM='*LOCAL*' on the OSRUN command used to invoke the compiler. This option is not allowed if the OSRUN command is issued from a z/VM EXEC program; however, it is allowed if the OSRUN command is issued from a System Product interpreter (REXX) or EXEC 2 program.

Note: For more information about central version and local mode operations in the z/VM environment, see the CA IDMS Installation and Maintenance Guide— z/VM.