Home > Return Code > Tsm Error Failed 12

Tsm Error Failed 12

Contents

Sample query schedule output Schedule Name: DAILY_INC Description: Daily System-wide backup Action: Incremental Options: QUIET Objects: Priority: 1 Next Execution: 30 minutes Duration: 4 Hours Period: 1 Day Day of Week: You don't indicate which TSM client and server versions you are running, nor do you indicate what the scheduled event is doing. successful operations. For more information about scheduling options, changing the scheduling mode, specifying the TCP/IP address or port number, or running commands before or after a schedule, see "Scheduling options". http://dwoptimize.com/return-code/tsm-failed-return-code-418.html

As I mentioned above, you did not say what the scheduled command was. For instance, if the script does this: ;my script command1 ;fails with lastrc = 4 command2 ;succeeds with lastrc = 0 exit lastrc ;exits with rc 0 In this case, if For example: ;my modified script command1 ;run command1, wait for completion exit lastrc ;exits with rc from command1 3) If the command is a script that includes several commands, and each After scheduled work is performed, check the schedule log to verify that all work completed successfully. http://www-01.ibm.com/support/docview.wss?uid=swg21641843

Ans1512e Scheduled Event Failed. Return Code = 1

Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[email protected] Internet e-mail: [email protected] (change eye to i to reply) The only dumb question is Install the command line client and ensure the communication software is running before you start the client scheduler. Configuring the client scheduler See Configuring the client scheduler for more information. This return code is very common.

The command line is your friend. "Good enough" is the enemy of excellence. Review the dsmerror.log file (and dsmsched.log file for scheduled events) to determine what error messages were issued and to assess their impact on the operation. For example: ;my script start command1 ;command1 launched asynchronously exit lastrc ;command1 launched successfully, exits with rc 0 Note: the "scripts" in this post are written in a "pseudo" code to Anr2579e If the 5.1 client still violates the behaviors described above, then this is (probably) a bug and should be reported to IBM support.

If the highest severity message is informational (ANSnnnnI), then the return code will be 0. Ans1512e Scheduled Event 'incremental' Failed. Return Code = 12 Review dsmerror.log (and dsmsched.log for scheduled events) to determine what warning messages were issued and to assess their impact on the operation. 12 The operation completed with at least one error The return code for a client macro will be the highest return code issued among the individual commands that comprise the macro. https://adsm.org/forum/index.php?threads/backup-failed-return-code-12.23098/ Displaying information about completed work When you run the schedule command as a service, output from scheduled commands displays in the application event log.

Retur tsm: TSM>q eve * * begindate=today-1 Scheduled Start Actual Start Schedule Name Node Name Status -------------------- -------------------- ------------- ------------- --------- 12/26/02 01:00:00 12/26/02 01:02:06 AMERUAT_HOT_- F5N73 Completed DAILY 12/26/02 01:58:42 Ans1512e Return Code See "Copy serialization". 8 The operation completed with at least one warning message. Return codes and meanings Code Explanation 0 All operations completed successfully. 4 The operation completed successfully, but some files were not processed. f2n21 />dsmc Tivoli Storage Manager Command Line Backup/Archive Client Interface - Version 5, Release 1, Level 5.0 (C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.

Ans1512e Scheduled Event 'incremental' Failed. Return Code = 12

Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[email protected] Internet e-mail: [email protected] (change eye to i to reply) The only dumb question is http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/ibm-tsm-13/failed-12-error-message-62115/ The figure below displays sample query schedule output. Ans1512e Scheduled Event Failed. Return Code = 1 The file was in use by another application and could not be accessed by the client. Tsm Return Codes If you are running the Scheduler Service, the scheduler runs until the system is shutdown or you explicitly stop it via the services control panel.

As a general rule, this return code means that the error was severe enough to prevent the successful completion of the operation. The next incremental backup will start in 30 minutes. For example, you can automatically back up files at the end of each day or archive some of your files every Friday. Files are not processed for various reasons. Ans1512e Scheduled Event Failed. Return Code = 2

For scheduled events, the status will be Completed. The scheduler service also posts messages to the Windows event log. Tivoli Storage Manager automatically establishes a connection before the scheduled backup occurs. Your administrator associates clients with one or more schedules that are part of the policy domain maintained in the server database.

IBM ! Ans1228e Sending Of Object Failed Refer to (2) above. -------------------------------------------------- If you are not using the 5.1 client, then try the 5.1 client to see if it makes a difference. Andy , Here is the information on TSM client and server .

shekhar Dhotre Sent by: "ADSM: Dist Stor Manager" 12/30/2002 11:53 Please respond to "ADSM: Dist Stor Manager" To: [email protected] cc: Subject: Re: TSM Scheduler shows backups completed successfully dsmerror.log

If the highest severity message is a warning (ANSnnnnW), then the return code will be 8. Users who already have scripts, batch files, or other scheduling or automation facilities that interpret the return code from the command line interface may need to make changes in order to Then ask your Tivoli Storage Manager server administrator modify the schedule definition to invoke your script instead of the command. Ans1512e Scheduled Event Failed. Return Code = 418 With client scheduling, you can also: Display information about available schedules.

If it does, then TSM should be behaving as I described, and you should be able to distinguish failed vs. 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. For information on scheduling options, see Chapter 9, Using processing options. Thank You SD Andrew Raibeck Sent by: "ADSM: Dist Stor Manager" 12/30/2002 05:05 AM Please respond to "ADSM: Dist Stor Manager" To: [email protected] cc: Subject: Re: TSM Scheduler shows

The exception to the above rules are warning or error messages that individual files could not be processed. For example, I would expect that 5.1 should report a completion status of "Failed" for the behavior you describe. You can configure this using the Setup Wizard. Retur n code = 1. 27-12-2002 08:50:15 ANS1038S Invalid option specified 27-12-2002 08:50:15 ANS1820E Command line options must be preceded by a '-' 27-12-2002 08:50:31 ANS1038S Invalid option specified 27-12-2002 08:50:31

For cases where the return code is not 0, you can examine the dsmerror.log file (and, for scheduled events, the dsmsched.log file). For example, suppose a macro consists of these commands: selective c:\MyTools\* -subdir=yes incremental c:\MyPrograms\TestODBCDriver\* -subdir=yes archive e:\TSM510C\* -subdir=yes If the first command completes with return code 0; the second command completes Specifying scheduling options You can modify scheduling options in the client options file (dsm.opt) or in the graphical user interface. Modify scheduling options in the client options file.

shekhar Dhotre Sent by: "ADSM: Dist Stor Manager" 12/27/2002 13:07 Please respond to "ADSM: Dist Stor Manager" To: [email protected] cc: Subject: TSM Scheduler shows backups completed successfully dsmerror.log shows Add and configure a phone book Available phone numbers are placed in the operating system phone book.