The message says "highest return code". So if you get one higher than 11 it will show as well. Actually you can get a -50 which is higher. This is a session died. The return code returned to a script is 255 for this instance (at least on windows).
-----Original Message----- From: Michael Benjamin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 8:30 PM To: [EMAIL PROTECTED] Subject: Re: Server Return Code 11 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:[EMAIL PROTECTED]] > Sent: Wednesday, March 27, 2002 6:30 AM > To: [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] < 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 > [EMAIL PROTECTED] > 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. **************************************************************************