gtpg2m42General Macros

SYSTC-Test Sysgen Options

This general macro is used to determine which system options were included in this installation at system generation. System options are defined in the SYSTG macro and user options are defined in the SYSUG macro. They are maintained as a string of bit switches in the control program. Subsystem-dependent SYSET values must be accessed with the CONKC table. (Refer to OPT parameter below.) The sysop positional parameter of SYSTC is mutually exclusive with the OPT, UOPT, LIST, KEYWT, and UKEYWT parameters.

Format




label
A symbolic name may be assigned to the macro statement.

sysop1,2
The symbolic name for the system option in question. The symbolic name is the SYSET global variable without the preceding ampersand (&). The sysop positional parameter is mutually exclusive with the OPT, UOPT, LIST, KEYWT, and UKEYWT options.

IFANY=goto_on
If the system option bit specified by sysop1 is on, then branch to the goto_on label, which can be any valid label in the program segment.

IFNONE=goto_off
If the system option bit specified by sysop1 is off, then branch to the goto_off label, which can be any valid label in the program segment.

IFON=goto_on
If the subsystem option bit specified by sysop2 is on, then branch to the goto_on label, which can be any valid label in the program segment.

IFOFF=goto_off
If the subsystem option bit specified by sysop2 is off, then branch to the goto_off label, which can be any valid label in the program segment.

OPT=Y
Defines IBM's set of system option bytes when called from the CP, copy segment CAPT. The OPT parameter is mutually exclusive with all other parameters.

UOPT=Y
Defines the user's set of system option bytes when called from the CP, copy segment CAPT, and the user's set of subsystem option bytes when called from real-time segment CVNT. The UOPT parameter is mutually exclusive with all other parameters.

LIST=Y
Generates a set of equates used by the ZSYSG command handler. The LIST parameter is mutually exclusive with all other parameters.

KEYWT=Y
IBM's section of the ZSYSG keyword table is generated. The KEYWT parameter is mutually exclusive with all other parameters.

UKEYWT=Y
The user's section of the ZSYSG keyword table is generated. The UKEYWT parameter is mutually exclusive with all other parameters.

Entry Requirements

When a subsystem option is requested, SYSTC will call the CINFC macro to access the CONKC table. Registers R14 and R15 are used for this and must be available for use.

Return Conditions

When a sysop is coded:

When OPT=Y is coded:

When UOPT=Y is coded:

When LIST=Y is coded:

When KEYWT=Y is coded:

When UKEYWT=Y is coded:

Programming Considerations

The following options for coding this macro are restricted to specific programs requiring particular output.

Examples