Alternative DD names in user builds

You can use the DD names list field in the translator to specify a list of alternative DD names for the data sets that the translator uses. You can specify alternative DD names for Enterprise COBOL and Enterprise PL/I user builds.

DD names list usage

The method for using the translator DD names list field varies depending on whether you are running the user build for Enterprise PL/I or Enterprise COBOL.

For Enterprise PL/I, alternative DD names are supported by using the PL/I compiler option DD. The user build JCL does not allocate the DD name that was substituted, but allocates the correct alternative DD name that is expected by the compiler. For example, the name of the member is set as the DD name for SYSPRINT in the following translator.

Translator with DD names list
In the following DD allocation example, SYSPRINT is defined along with the alternative DD name. In this case, only one DD statement is generated in the user build JCL. The SYSPRINT definition and name are ignored and the member name and its definition are used.
SYSPRINT allocation that is ignored and replaced with member name

For Enterprise COBOL, DD name substitution works when the compiler is started through an assembler program, as in IBM® Engineering Workflow Management (EWM). For the user build, the JCL must be built with the default DD names. However, if there is a DD allocation for MYPRINT and in the DD names list MYPRINT is in the SYSPRINT position, the MYPRINT data set definition is used. The generated JCL uses SYSPRINT instead of MYPRINT.

In the following DD allocation example, SYSPRINT is defined as well as the alternative DD name. In this case, only one DD statement is generated in the user build JCL. SYSPRINT, with the data set definition provided for member name, is used.

SYSPRINT allocation with an alternative member name


video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki