Monitor a data set disposition event.
Figure 359 ON DSNEVENT (CMEM) Parameter Format
Optional. Type D (DSNEVENT) in the ON field and press Enter. The following subparameters are displayed:
Table 240 DSNEVENT (CMEM) Subparameters
Subparameter |
Description |
---|---|
jobname |
Name (or mask) of the job to be monitored for data set events. Mandatory. |
JTYPE |
Type of job to be monitored for data set events:
If JTYPE is entered, only a data set event occurring in a job of the specified type can trigger the rule. |
SMFID |
SMF ID of the CPU to monitor for data set events. Mask characters (* and ?) are supported. Default: current CPU. |
SYSTEM |
Name of the system to monitor for data set events. Mask characters (* and ?) are supported. Default: current system. |
DSN |
Name of data set (or mask) to be monitored for this event within the selected jobs. Mandatory. |
DISP |
Data set disposition. Mandatory. The abbreviation (that is, the first letter) of the desired value can be specified. Valid values are:
|
PROCSTEP |
Name or mask of a step invoking a procedure or, for a started task, task ID. Optional. If omitted, all procedure steps in the selected jobs are monitored. |
Note: When a started task is initiated, it can be assigned a task ID. For example, in command S GTF.G, the task ID of GTF is G. If a task ID is not entered, MVS assigns a default task ID to the started task, as follows:
Therefore, when using CMEM to monitor system started tasks, if no task ID is entered in the START command, the PROCSTEP parameter must not be specified. |
|
PGMSTEP |
Name (or mask) of a step invoking a program. Optional. If omitted, all program steps in the selected jobs are monitored. |
Note: When a system started task with stepname IEFPROC is initiated, MVS assigns the step a default program step name. Therefore, when using CMEM to monitor these system started tasks, the PGMSTEP parameter must not be specified. |
|
STEPRC |
Determines at which point in the job step, and under what conditions in the job step, the DO statements are performed. Valid values are:
If any of the following values is entered for STEPRC, execution of the DO statements is delayed until the end of the monitored job step and is dependent upon how the jobstep ended:
Asterisks can be entered instead of code digits; condition codes and abends can be preceded by code qualifiers (<, >, N). For more information, see the following section, "General Information". Note: If you use STEPRC in a long-running task, rules do not execute until tasks such as STC (such as CICS, IMS) or TSO USER terminate. |
And/Or/Not |
Conjunctional parameter that opens a new ON statement and links it to the previous ON statement. Optional. Valid values are:
|
Parent Topic |