Display information about completed work

When you run the schedule command in the foreground, your screen displays output from the scheduled commands.

Output is also directed to the dsmsched.log file in the installation directory unless you change the directory and file name using the schedlogname option.

Linux operating systemsOracle Solaris operating
systemsAIX operating systemsMac OS X operating
systemsWhen you run the schedule command in the background, output from scheduled commands is directed to the dsmsched.log file in the current directory, or to the path and file name that you specified. The dsmsched.log cannot be a symbolic link.

Mac OS X operating
systemsNote: On Mac OS X, by default the log can be found in one of these locations:
~/Library/Logs/tivoli/tsm
/Library/Logs/tivoli/tsm

Windows operating systemsWhen you run the schedule command as a service, output from scheduled commands displays in the application event log. Output is also directed to the dsmsched.log file in the current directory unless you change the path and file name using the schedlogname option. The amount of detail is determined by whether verbose or quiet is set in the dsm.opt file. The scheduler service also posts messages to the Windows event log.

After scheduled work is performed, check the schedule log to verify that all work completed successfully.

When a scheduled command is processed the schedule log contains the following entry:

   Scheduled event eventname completed successfully

If the scheduled event does not complete successfully, you receive a message similar to the following:

   ANS1512E Scheduled event eventname failed. Return code = code.

The client indicates whether IBM® Storage Protect successfully issued the scheduled command associated with the eventname (action=command). No attempt is made to determine the success or failure of the command. You can assess the status of the command by evaluating the return code from the scheduled command in the schedule log. The schedule log entry for the return code of the command is prefaced with the following text:

   Finished command. Return code is:

The schedule log continues to grow unless you prune it using the schedlogretention option or specify a maximum size using the schedlogmax option.