The OPSLOGMG function lets you load an active, read-only OPSLOG with data from a dataset created by the OPSLOG function using opcode EXTOPMO.
OPSLOGMG has the following format:
var = OPSLOGMG('function LOGNAME(logname) DDNAME(ddname) RESET SUBSYS(ssn)')
LOAD is the only function available.
Specifies the name of an existing, active, read-only OPSLOG where the data is inserted.
Specifies the DDNAME of an allocated input file that was created by the OPSLOG function using opcode EXTOPMO.
If the OPSLOG specified by LOGNAME contains data, it is destroyed to allow for the insertion of new data.
Specifies the CA OPS/MVS subsystem to which you are directing this request.
Example: OPSLOGMG function call
This example loads OPSLOG named MYLOG with the contents of the dataset allocated to DDNAME SORTOUT whose contents was created by the OPSLOG function using opcode EXTOPMO.
cnt=OPSLOGMG('LOAD LOGNAME(MYLOG) DDNAME(SORTOUT) SUBSYS(OPSS)')
Example: OPSLOGMG function call with RESET:
Same as the previous example, except that MYLOG is cleared before being loaded with new data.
cnt=OPSLOGMG('LOAD LOGNAME(MYLOG) DDNAME(SORTOUT) RESET SUBSYS(OPSS)')
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|