Previous Topic: IDMSDMLA Under z/VSENext Topic: Link-Edit Considerations


IDMSDMLA Under CMS

Executing Under the Central Version IDMSDMLA (CMS)

FILEDEF SYSIPT DISK sysipt data a (RECFM F LRECL ppp BLKSIZE nnn
FILEDEF SYSPCH DISK prgnme assemble a
FILEDEF SYSIDMS DISK sysidms parms a (RECFM F LRECL ppp. BLKSIZE nnn
EXEC IDMSFD
OSRUN IDMSDMLA PARM='CVMACH=vmid'       Precompiler step
FILEDEF TEXT DISK prgnme text a
GLOBAL TXTLIB asmlibvs IDMSLIB1
ASSEMBLE prgnme (OSDECK APOST LIB        Assemble step
TXTLIB DEL utextlib prgnme
TXTLIB ADD utextlib prgnme
FILEDEF SYSLMOD uloadlib loadlib a (RECFM V LRECL 1024 BLKSIZE 10 24
FILEDEF objlib DISK utextlib txtlib a
FILEDEF SYSLIB DISK asmlibvs txtlib p
LKED linkctl data a (LIST XREF LET MAP RENT NOTERM PRINT SIZE 512K 64K
                                               Link edit step
sysipt data a

Filename, type, and mode of the file containing the Assembler/DML source statements

ppp

Record length of the data file

nnn

Block size of the data file

prgnme assemble a

Filename of the Assembler program

sysidms parms a

Filename, filetype, and filemode of the file that contains SYSIDMS parameters (parameters that define your runtime environment)

vmid

ID of the virtual machine running the CA IDMS/DB central version

asmlibvs

Filename of the library that contains Assembler logic modules

utextlib

Filename of the user text library

uloadlib loadlib a

Filename, filetype, and filemode of the user load library

objlib1

DDname of the first CA IDMS/DB object library

objlib

DDname of the user object library

asmlibvs txtlib p

Filename, filetype, and filemode of the library that contains Assembler logic modules

linkctl

Filename of the file that contains the linkage editor control statements

How to Edit the SYSIDMS File

To edit the SYSIDMS file, enter these CMS commands:

XEDIT sysidms parms a (NOPROF
INPUT
 .
 .
 .
SYSIDMS parameters
 .
 .
 .
FILE

To run IDMSDMLA, you must include the NODENAME and DICTNAME SYSIDMS parameters.

Note: For more information on SYSIDMS, see the Common Facilities Guide.

How to Create the SYSIPT File

To create the SYSIPT file, enter these CMS commands:

XEDIT sysipt data a (NOPROF
INPUT
 .
 .
 .
DML source statements
 .
 .
 .
FILE

How to Create the LINKCTL File

To create the LINKCTL file, enter these CMS commands:

XEDIT linkctl data a (NOPROF
INPUT
 .
 .
 .
INCLUDE objlib(prgnme)
INCLUDE objlib1(IDMS)     IDMS is required, omit for CICS
INCLUDE objlib1(IDMSCINT) for CICS only
INCLUDE objlib1(IDMSCANC) IDMSCANC for BATCH and DCBATCH
ENTRY prgnme
NAME prgnme(R)
 .
 .
 .
FILE

Executing in Local Mode

To execute the IDMSDMLA precompiler in local mode, remove the CVMACH parameter from OSRUN, and do one of the following: