Previous Topic: LOGRECRATE ParameterNext Topic: NAME Parameter


MAINPRM Parameter

This parameter supplies a parameter string for CA OPS/MVS. You can supply this parameter string using the OPSPRM() REXX function, the OPSPRM or OPSPARM command, or through the MAINPRM substitutional parameter in the CA OPS/MVS started-task JCL. In addition, you can fetch the value of this parameter from a rule or a REXX EXEC through the OPSINFO REXX function. For a description of the OPSINFO function, see the Command and Function Reference.

Although the entire main product parameter string (up to 100 characters) is available through the OPSINFO('MAINPRM') REXX function, when using the OPSPRM() REXX function, the OPSPRM or OPSPARM command processor, or OPSVIEW option 4.1.1, you are restricted to setting and displaying the first 50 characters of the string.

Default value

NONE

Other possible values

Any valid parameter string, with a maximum length of 50 bytes

Set or modify this parameter…

Anytime

Example: MAINPRM

This function defines TESTMODE as the CA OPS/MVS main parameter string.

OPSPRM('SET','MAINPRM','TESTMODE')