The OPSLOG DEFINE command creates a new OPSLOG definition.
This command has the following format:
ADDRESS OPSCTL "OPSLOG {DEFINE(logname)} optional-keywords"
[DSNAME(divdsname)]
[BROWSEMAX(nnnnnn)] [READONLY|READWRITE]
[SYSTEM(sysid)]
[SYSWAIT(nnn)]
Defines a unique log name of one to sixteen characters.
The name must be 1-16 characters in length, and must contain only alphabetic, numeric, or any of the following special characters:
The name is not case sensitive. It cannot start with a numeric character, an underscore (_) or a question mark (?), and cannot end with an underscore (_). Imbedded blanks are not allowed. The LOGNAME must be unique for each CA OPS/MVS subsystem.
The following name is reserved and should not be used: INSTAUTODEFINED.
(Optional) For DIV data sets, defines the actual data set name of the physical data set. In this case, the data set name must conform to standard z/OS data set naming restrictions.
For an in-storage OPSLOG, you must start the pseudo- data set name with the character string 'IN-STORAGE' and it is not required to conform to standard z/OS data set naming restrictions.
Do not use the following reserved name: IN-STORAGEAUTO.
For a DIV-backed data set name, it is possible to define the OPSLOG prior to the data set being created. The data set must actually exist at the time the OPSLOG is activated.
(Optional) Defines the maximum number of messages in the OPSLOG message area.
It lets you override the default value which is the BROWSEMAX parameter value. For a DIV-backed OPSLOG that has already been used, the value you specify will be overridden by the existing BROWSEMAX value in the data set.
Value: A numeric value in the range from 1 to 4925000.
(Optional) Indicates the mode in which the data set is to be accessed. These keywords are mutually exclusive. The value can be subsequently overridden on a future OPSLOG ACTIVATE command.
Specifies that the OPSLOG cannot be updated. This keyword is typically used when defining an OPSLOG that will be used to hold a restored OPSLOG.
(Default) Specifies that the OPSLOG can be updated. An OPSLOG must have the READWRITE attribute to be eligible for the OPSLOG SETLIVE command.
(Optional) You may specify the common keywords described in Keywords Common to All ADDRESS OPSCTL OPSLOG Commands in this chapter.
Example: DEFINE command
ADDRESS OPSCTL "OPSLOG DEFINE(InstLog2) DSNAME(IN-STORAGE)"
ADDRESS OPSCTL "OPSLOG DEFINE(RestLog1) DSNAME('OPSMVS.REST.OPSLOG') READONLY"
ADDRESS OPSCTL "OPSLOG DEFINE(DivLogTemp) DSNAME(OPSMVS.TMP.OPSLOG) BROWSEMAX(100000)"
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |