The return codes from dsmc are the same as those reported via the scheduler. See the client manual chapter on "Automating tasks" for a discussion of the return codes (I'm talking about version 5.1 and up).
Best 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] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. Justin Bleistein <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 06/26/2003 18:46 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Re: DSMC Exit Code Question it's still there in 5, if we're talking about the same thing here... On the server side there already is a return code for this it's return code: "4". If you type in: "q event * * node=node_name f=d" you will see it under RESUlT. Now if your kicking it off from dsmc which I think u are that maybe a different error. I'm sure it's recorded in the "dsmerror.log" so maybe a post script to go out and look to see if any messages like "object failed" or something exist in that file, like a simple unix shell script if statement or something then if it does then do a "exit 11" but u can only use post schedscript option if it's scheduled so maybe an alias for dsmc in ur environment where dsmc is really equal to dsmc;post_script. Just some ideas. You'll have more flexibility if u schedule it via the tsm central scheduler though. thanks!. --Justin Richard Bleistein Unix/TSM Systems Administrator (Sungard eSourcing) Desk: (856) 566 - 3485 Cell: (856) 912 - 0861 Email: [EMAIL PROTECTED] "Henschell, John" <[EMAIL PROTECTED] To: [EMAIL PROTECTED] HOMSON.COM> cc: Sent by: "ADSM: Subject: Re: DSMC Exit Code Question Dist Stor Manager" <[EMAIL PROTECTED] .EDU> 06/26/2003 04:11 PM Please respond to "ADSM: Dist Stor Manager" We've seen this problem go away once we started using the 5.1.# client code. -----Original Message----- From: Andy Carlson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: DSMC Exit Code Question I had an intersting question posed to me today and I don't have an answer. This person is checking the return code on the dsmc command to determine if the backup needs to be looked at or not. What he is coming across is files that are in the directory when the directory is scanned, but gone when the backup tries to back the file up. We did figure out we could probably exclude the files, but what we would like is for TSM not to give a non-zero return code what a file is not found. Thanks for any input into this matter. Andy Carlson |\ _,,,---,,_ Senior Technical Specialist ZZZzz /,`.-'`' -. ;-;;,_ BJC Health Care |,4- ) )-,_. ,\ ( `'-' St. Louis, Missouri '---''(_/--' `-'\_) Cat Pics: http://andyc.dyndns.org/animal.html