Message number 2? - (nf)
jla at houxt.UUCP
jla at houxt.UUCP
Fri Dec 16 04:31:25 AEST 1983
This problem is caused by interaction between UNIX and VMS program return
values. UNIX treats 0 as success, and non-zero as an error. VMS has
a more complicated scheme, using the bottom three bits to hold the severity
of the error.
Eunice does a very half-hearted job of mapping UNIX onto VMS status.
It maps return of 0 to a VMS return of 1 (Success)
and passes any non-zero UNIX return through as it stands.
Most UNIX utilities return error codes of 1, which comes through
looking exactly the same as a successful return. This makes
writing VMS scripts using UNIX utilities very difficult. The DCL
script to run the CC command is a case in point.
Has anybody out there done any fixes in this area?
Really: Brendan Lynch
More information about the Comp.os.eunice
mailing list