comp.lang.ada
 help / color / mirror / Atom feed
* Returning a code from a VAX Ada program
@ 1996-01-08  0:00 Stephen Bull
  1996-01-08  0:00 ` Ken Garlington
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Bull @ 1996-01-08  0:00 UTC (permalink / raw)


I am trying to write a program in VAX Ada ( Ada V1.5-44, VAX/VMS V5.4   ), 
and want to 
return a severity code to the calling program (a command file) without 
having any error message information displayed.

Does anyone know how to do this?

---------------------------------------------------------------------------
Stephen Bull  Praxis Critical Systems  20 Manvers Street BATH BA1 1PX
+1225 444700 (switchboard)  +1225 739286 (direct)  +1225 739281 (fax)
---------------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Returning a code from a VAX Ada program
  1996-01-08  0:00 Returning a code from a VAX Ada program Stephen Bull
@ 1996-01-08  0:00 ` Ken Garlington
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Garlington @ 1996-01-08  0:00 UTC (permalink / raw)
  To: sgb

Regardless of language, a call to the VAX routine LIB$EXIT should set 
the $STATUS variable, which can then be checked by your command file. 
See the DEC Ada pre-defined package Lib in directory ADA$PREDEFINED.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-01-08  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-08  0:00 Returning a code from a VAX Ada program Stephen Bull
1996-01-08  0:00 ` Ken Garlington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox