CA-L-Serv Commands › Routing Command Output › SWITCHLOG Command
SWITCHLOG Command
The SWITCHLOG command switches to a new log file. This tells CA‑L‑Serv to start recording information in the next file that is associated with the log.
Syntax
SWITCHLog name
Note:
- Issue the SWITCHLOG command from a console.
- Use this command only if you provided DD names or dsnames for the log. Do not use it when the log is defined as a SYSOUT data set.
- Use this command only when multiple DD names are defined for a single log.
- The order in which you defined log files (on the ADDLOG command) determines which file CA‑L‑Serv selects.
- When CA‑L‑Serv is using the last log file and you issue a SWITCHLOG command, CA‑L‑Serv starts using the first log file and overwrites its contents.
Example
To switch to the next file for log LOG1:
SWITCHLOG LOG1
Copyright © 2014 CA Technologies.
All rights reserved.
|
|