Previous Topic: Under z/VMNext Topic: Optional Parameters


Link-Edit Considerations

The modules involved in the link edit of an application program contain six external references. Some must be resolved depending on the mode of operation. Check unresolved references against the following table to ensure proper linkage to the program.

Reference

Referenced by

Resolved by

Comments

ABORT

Application

IDMSCANC

Should be resolved

IDMS

Application

IDMS

Must be resolved

IDMSOPTI1

IDMS

IDMSOPTI module

Must be resolved under z/OS if using the central version without a SYSCTL file, and under z/VSE if using the central version

IDMSWAIT1

IDMS

IDMSWAIT

Must be resolved if user-written wait program is desired; otherwise, system routine is used

1. Under z/OS, IDMSOPTI is a weak external reference (WXTRN).

Passing Parameters to the Precompiler

A number of parameters can be provided to control the action taken by the precompiler. The parameters can be specified in one of three ways:

An IDMSPPRM module can be compiled with parameter values that are always appropriate to a particular operating system or client site. IDMSPPRM must be a stand-alone assembler module that will be loaded by the precompiler at run-time. The module must consist of a string of characters terminated by a binary zero.

A PARM= clause can be coded on the EXEC statement that invokes IDMSDMLC in a z/OS, or z/VSE environment or on the OSRUN statement that invokes IDMSDMLC in a CMS environment. Any option that is specified on the EXEC or OSRUN statement will take precedence over the same parameter if it is coded with a different value in the IDMSPPRM module.

A PARM= statement can be coded as a SYSIDMS input parameter. See CA IDMS Common Facilities Guide for more information about using SYSIDMS. Any option that is specified in the PARM= statement will take precedence over the same parameter if it is coded with a different value in the IDMSPPRM module. Note that if PARM= is specified both as a SYSIDMS input statement and on an EXEC or OSRUN statement, the PARM= clause on the EXEC or OSRUN statement will be ignored completely.

Precompiler Options: Parameter options available to code in the EXEC statement of the precompile step are: