Schedlogname
The schedlogname option specifies the path and file name where you want to store schedule log information.
Use this option only when you want to store schedule log information. This option applies only when the scheduler is running.
If
this option is not used, the dsmsched.log
file is
created in the same directory as the dsmerror.log
file.
When you run the schedule command, output from scheduled commands appears on your screen. Output is also sent to the file you specify with this option. If any part of the path you specify does not exist, the client attempts to create it.
Supported Clients
This option is valid for all clients. The IBM Spectrum Protectâ„¢ API does not support this option.
Options File
Place this option in the client system-options file (dsm.sys) within a server stanza. You can set this option on the Scheduler tab, in the Schedule Log text box, in the Preferences editor.
Place this option in the client options file (dsm.opt). You can set this option on the Scheduler tab, in the Schedule Log text box, in the Preferences editor.
DSM_LOG
environment variable to name a directory
where the log is to be placed. The directory specified must have permissions
which allow write access from the account under which the client is
run. The root directory is not a valid value for DSM_LOG
.DSM_LOG
environment
variable to name a directory where the log is to be placed. The directory
specified must have permissions which allow write access from the
account under which the client is run.Syntax
Parameters
- filespec
- Specifies the path and file name where you want to store schedule log information when
processing scheduled work. If any part of the path you specify does not exist, the client attempts
to create it.
If you specify a file name only, the file is stored in your current directory. The default is the current working directory with a file name of
dsmsched.log
.If you specify a file name only, the file is stored in your current directory. The default is the current working directory with a file name of
dsmsched.log
. Thedsmsched.log
file cannot be a symbolic link.For Mac OS X, if you specify a file name only, the file is stored in your default folder. The default directories are:~/Library/Logs/tivoli/tsm /Library/Logs/tivoli/tsm
Examples
- Options file:
-
SCHEDLOGN /Users/user1/Library/Logs/schedlog.jan
schedlogname /home/mydir/schedlog.jan
schedlogname c:\mydir\schedlog.jan
- Command line:
-schedlogname=/Users/user1/Library/Logs/schedlog.jan
- Command line:
-schedlogname=/home/mydir/schedlog.jan
- Command line:
-schedlogn=c:\mydir\schedlog.jan
This option is valid only on the initial command line. It is not valid in interactive mode.