[HPADM] Exit code from script contd...

From: Joe Crawford (abjcrawford@yahoo.com)
Date: Mon Dec 02 2002 - 09:23:37 EST


TEAM:

We are working on a product from BMC SA in we have a
GUI which invokes our adduser (the one we developed)
script which completes the user addition. When we
encounter error conditions in our script eg: - "Login
id already exists". We would like the script to return
an exit code along with a text message to the GUI.
However, we were not able to return a text message as
exit returns only an integer value as status. We tried
the echo using case statements but it does not work.
How is it possible to achieve this? Please advice.

Thanks
Joe.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT