ADSM-L

Re: Return code

2003-01-02 20:30:40
Subject: Re: Return code
From: "Adams, Matt (US - Hermitage)" <maadams AT DELOITTE DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 2 Jan 2003 19:29:59 -0600
I figured this to be the case, but wanted more confirmation.

We'll dig more into the command file itself.

Thanks,

Matt

-----Original Message-----
From: Zlatko Krastev/ACIT [mailto:acit AT attglobal DOT net]
Sent: Thursday, January 02, 2003 5:08 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Return code


This is works-as-designed. Look carefully at the "consistent client return
codes" feature of ITSM v5.1 clients. In version 4.2 and below even if
preschedulecmd failed the backup was run (and completed). If you want this
behavior wrap your command in a script which always returns zero return code
(as described in B/A Client's guide). However it is better to dig down the
actual reason for non-zero return code.

Zlatko Krastev
IT Consultant






"Adams, Matt (US - Hermitage)" <maadams AT DELOITTE DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> 02.01.2003 
23:33
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Return code


Hi all,

TSM client ver 5.1.1.0 -  WinNT4.0

TSM server ver 4.2.1.11 - Aix 4.3.3


Can anyone help me understand what is going on??  We have a node that runs a
nightly cmd file to do shutdown a DB, do some cleanup, run a TSM backup,
then start the DB back up again.

Ever since I went 5.1.0.1 version on the client the backups return a code of
77.  Prior to the upgrade from a 4.x version, this didn't happen.  I
understand that it has to do with how the command file returns a success or
fail code.  But how is the newer version interpreting this differently? The
processing from the application side appears to be finishing as expected,
and we get a backup of the node every night.  Just the return code in the
logs and event viewer.

The only other thing that is occurring is this item from dsmerror.log that
occurs at the same time as the command ends.

01/02/2003 01:08:11 ANS1005E TCP/IP read error on socket = 484, errno =
10035, reason : 'Unknown error'.


Thoughts??

Matt



01/01/2003 23:03:26
------------------------------------------------------------
01/01/2003 23:03:26 Schedule Name: ESSBASE_NIGHTLY
01/01/2003 23:03:26 Action: Command
01/01/2003 23:03:26 Objects: c:\Progra~1\tivoli\tsm\DT\her22sav.cmd
01/01/2003 23:03:26 Options:
01/01/2003 23:03:26 Server Window Start: 23:00:00 on 01/01/2003 01/01/2003
23:03:26
------------------------------------------------------------
01/01/2003 23:03:26
Executing scheduled command now.
01/01/2003 23:03:26
Executing Operating System command or script:
c:\Progra~1\tivoli\tsm\DT\her22sav.cmd
01/02/2003 01:08:10 Finished command. Return code is: 77 01/02/2003 01:08:10
ANS1909E The scheduled command failed. 01/02/2003 01:08:10 ANS1512E
Scheduled event 'ESSBASE_NIGHTLY' failed. Return code = 77. 01/02/2003
01:08:10 Sending results for scheduled event 'ESSBASE_NIGHTLY'. 01/02/2003
01:08:11 Session established with server DTTTSM4: AIX-RS/6000 01/02/2003
01:08:11 Server Version 4, Release 2, Level 1.11
- This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. -
If you are not the intended recipient, you should delete this message and
are hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.
- This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  -
If you are not the intended recipient, you should delete this message and
are hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.

<Prev in Thread] Current Thread [Next in Thread>
  • Return code, Adams, Matt (US - Hermitage)
    • Re: Return code, Zlatko Krastev/ACIT
    • Re: Return code, Adams, Matt (US - Hermitage) <=