Previous Topic: Variable OutputNext Topic: Parmname Argument


OPSPRM Function

The OPSPRM function of OPS/REXX sets or display the values of CA OPS/MVS parameters. The OPSPRM function is used in OPSVIEW option 4.1.1, Set/Display product parameters. Although the OPSPARM command processor can set or display parameter values, the OPSPRM function processes change or display requests more rapidly. Use OPSPRM if faster performance is important. In addition, you can use OPSPRM directly in an AOF rule. The numeric value that the OPSPRM function returns indicates the success or failure of the operation.

Note: You can use the OPSPRM function in OPS/REXX or AOF rules.

The OPSPRM function has two formats.

To display parameters, use this format:

var = OPSPRM("SHOW",parmname[,["INFO"][,["NAMES"][,system]]])

To set parameters or load module information, use this format:

var =OPSPRM("SET",parmname,value[,,system])

When the display format of the OPSPRM function (SHOW keyword) executes successfully, some number of records, containing information about the parameter, are placed on the OPS/REXX external data queue.

OPSPRM can also display information about the load modules that comprise CA OPS/MVS. To see the storage location, the assembly date, and other statistics about a module, enter a module name instead of a parameter name.

Note: When a SHOW function executes, it returns data in the EDQ.