Previous Topic: OPSLOG LIST—List All OPSLOG DefinitionsNext Topic: OPSLOG RESET—Reset Active OPSLOG


Output from OPSLOG LIST Command

The OPSLOG LIST command returns the following OPSLOG information to the OPS/REXX external data queue as data fields separated by blanks. One record is produced for each defined OPSLOG.

Word Number: 1

Length: 16

Contains the OPSLOG log name.

Word Number: 2

Length: 8

Contains the OPSLOG DDNAME. This value is internally generated except for the case where the OPSLOG DD is allocated to the main address space via JCL or dynamic allocation.

Word Number: 3

Length: 44

Contains the OPSLOG DIV data set name or a pseudo-data set name for an in-storage OPSLOG.

Word Number: 4

Length: 10

Contains the BROWSEMAX value defined or actually being used for this OPSLOG (depending on the status). This is a numeric value in the range of 0 to 4925000.

Word Number: 5

Length: 1

Contains a flag indicating whether or not this OPSLOG is read-only:

Word Number: 6

Length: 1

Contains a flag indicating whether this is the live OPSLOG:

Word Number: 7

Length: 1

Contains a flag indicating how this OPSLOG was defined:

Word Number: 8

Length: 1

Contains a flag indicating how this OPSLOG is backed:

Word Number: 9

Length: 8

Contains the status of this OPSLOG definition. The possible status values are:

Word Number: 10

Length: 10

Lock value. This is an internal field that may be used for debugging and is not intended for customer use.

Note: The OPSLOG LIST command cannot be used with the SYSTEM keyword and the SYSID of a remote MSF system in a NOWAIT AOF rule. In that environment the command will fail with an RC of 116. Using a SYSID of * or the name (or alias) of the local system will be successful.

Example: LIST command

This command lists all of the defined OPSLOGs (including those that are active and live) to the external data queue of the OPS/REXX program or AOF rule that issued the command.

ADDRESS OPSCTL "OPSLOG LIST”