Manipulating the log within screen spaces
Use the PUSH
and POP
arguments
on the .LOG
immediate command to selectively log
screen spaces.
You specify .LOGPUSH
and .LOGPOP
in
screen spaces so that you can change the ON or OFF status of the log
when you branch to other screen spaces, and return the log to its
original state when the screen routines complete. Use .LOGPUSH
to
save the state of the log. Use .LOGPOP
to restore
the state of the log to what was in effect when the last .LOGPUSH
ran.
For example, if you have a series of four screen spaces chained
together with
.FGO
and you want to log only the last
two, you can use .LOGPUSH
and .LOGPOP
in
the following manner:- At the end of screen space 2, enter .LOGPUSH to have OMEGAMON® for IMS record the previous status of the log.
- Enter OPTN LOG=ON to turn on the log at the beginning of screen space 3.
- Enter .LOGPOP at the end of screen space 4. This causes the log to be restored to its original status when your branching routine completes.
The .LOGPUSH
and .LOGPOP
functions
are performed automatically when you log screen spaces by using the
Exception Logging Facility (XLF), the Automatic Screen Facility (ASF),
or the Timed Screen Facility (TSF).