Subject: | |
From: | |
Reply To: | |
Date: | Wed, 26 Sep 2001 12:20:18 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Carl,
Look for CJCW.
Note it's "non existence" at first,
but after exiting the shell it exists with
the exit condition specified.
Ron Wuerth
Virginia International Terminals, Inc.
**********************************************************************
(SYS): showvar cjcw
^
Variable not found in variable table. (CIERR 8106)
(SYS): shell
########################################################################
MPE/iX Shell and Utilities (A.50.02)
COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.
########################################################################
shell/iX> exit 1
(SYS): showvar cjcw
CJCW = 1
(SYS): shell
########################################################################
MPE/iX Shell and Utilities (A.50.02)
COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.
########################################################################
shell/iX> exit 2
(SYS): showvar cjcw
CJCW = 2
(SYS):
-----Original Message-----
From: Carl McNamee [mailto:[log in to unmask]]
Sent: Wednesday, September 26, 2001 12:11 PM
To: [log in to unmask]
Subject: [HP3000-L] posix to MPE question ($?)
In our scripts we always "exit" with a number indicating success or failure.
If we are in the posix shell we can check the variable "$?" to see the exit
code. If we run them from an MPE command line what is the equivalent
variable?
Carl McNamee
Systems Administrator
Billing Concepts
(210) 949-7282
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|