DSNUEXIT


The DSNUEXIT option allows you to specify a user-written exit routine that creates user-defined variables.

DSNUEXIT.png

You can use these variables with the DSNPAT option to create patterns for data set names for dynamically allocated data sets. For details about the DSNPAT option, see DSNPAT.

Restriction

When invoking DSNUTILB, LOADPLUS ignores this option.

Specifying the default

You can also specify a default for the DSNUEXIT option in your installation options module by using the DSNUEXIT installation option. LOADPLUS was shipped with a default value of (NONE, ASM) for this option. The DSNUEXIT command option overrides any default that is in the installation options module.

exitName

Specify the name of the exit routine. This exit routine must be authorized and present in your system’s LINKLIST or your JOBLIB or STEPLIB. For COBOL II and C programs, the appropriate runtime libraries must be authorized and in your LINKLIST, JOBLIB, or STEPLIB. For the IBM Language Environment COBOL and C programs (LE COBOL and LE C), the appropriate language environment runtime libraries must be authorized and in your LINKLIST, JOBLIB, or STEPLIB.

For more information about creating an exit routine, see LOADPLUS-user-exits.

NONE

Specify NONE in place of an exit name to override a default user exit in your installation options. This tells LOADPLUS that you do not want to call any DSNUEXIT user exit.

program language

LOADPLUS supports user-written exit routines written in assembler, COBOL II, LE COBOL, C, or LE C. After you specify the name of your user exit, you can optionally provide the programming language in which it was written. If you specify the programming language, place a comma between the exit name and the programming language. The following table lists the keywords that you can use to specify a programming language.

Important

The programming language, whether specified here or in the installation option, must match the source language of the specified user exit. If the language does not match, your user exit might not function correctly.


Program language keywords

Keyword

Description

ASM

Specifies an exit written in assembler

COBOL2

Specifies an exit written in COBOL II

LE_COBOL

Specifies an exit written in LE COBOL

C

Specifies an exit written in C

LE_C

Specifies an exit written in LE C


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*