ADSM-L

Re: Server Return Code 11

2002-03-26 20:30:11
Subject: Re: Server Return Code 11
From: Michael Benjamin <MBenjamin AT BUNNINGS.COM DOT AU>
Date: Wed, 27 Mar 2002 09:29:59 +0800
Cute behaviour, maybe check for "11" and "0" if  "11" is not a dangerous
return code.



tsm: ADSM_BBS>quit



ANS8002I Highest return code was 11.




Tivoli Storage Manager

Command Line Administrative Interface - Version 4, Release 2, Level 0.0

(C) Copyright IBM Corporation, 1990, 2001, All Rights Reserved.



Session established with server ADSM_BBS: AIX-RS/6000

  Server Version 4, Release 2, Level 0.0

  Server date/time: 03/27/02   09:17:32  Last access: 03/27/02   09:01:38





tsm: ADSM_BBS>quit



ANS8002I Highest return code was 0.







> -----Original Message-----
> From: Denis L'Huillier [SMTP:dlhuillier AT PERSHING DOT COM]
> Sent: Wednesday, March 27, 2002 6:30 AM
> To:   ADSM-L AT VM.MARIST DOT EDU
> Subject:      Server Return Code 11
>
> Hello,
> I was looking on the list to see if this had come up before but couldn't
> find anything..
> Nothing earth shattering..
>
> Anyone notice that sometimes when you issue 'quit' from an admin command
> line it doesn't
> always quit with a return code of '0'.  Many time I get a return code of
> '11'...
>
> tsm: TSM_C01>quit
>
> ANS8002I Highest return code was 11.
>
> After the latest postings of tsm scripts to check that the server is up
> and
> running and email if it
> isn't I wrote a simple script that did a 'dsmadmc -id=xxxx -pa=xxxx quit'
> and then did a:
> if [[ ! "$?" -eq '0' ]]; then
> sendmail  1235678 AT skytel DOT com < serverdown.msg
> else
> exit 0
> fi
>
> Well, I had cron run it 4 times a day.. and of course when I left for the
> day my pager goes off.
> I go home, dial in and all is okay.. Couldn't figure it out for the life
> of
> me.
> Now it finally hit me... return code 11!!!
>
> Anybody know what return code 11 is and why 'quit' would cause it
> sometimes???
>
> Regards,
>
> Denis L. L'Huiller
> 973-360-7739
> dlhuillier AT pershing DOT com
> Enterprise Storage Forms ->
> http://admpwb01/misc/misc/storage_forms_main.html

**************************************************************************
Bunnings Legal Disclaimer:

1)      This document is confidential and may contain legally privileged
        information. If you are not the intended recipient you must not
        read, copy, distribute or act in reliance on it.
        If you have received this document in error, please telephone
        us immediately on (08) 9365-1555.

2)      All e-mails sent to and sent from Bunnings Building Supplies are
        scanned for content. Any material deemed to contain inappropriate
        subject matter will be reported to the e-mail administrator of
        all parties concerned.

**************************************************************************
<Prev in Thread] Current Thread [Next in Thread>