[Info-vax] COBOL, <gack!> again! Return status.

Robert A. Brooks FIRST.LAST at vmssoftware.com
Mon Sep 11 16:08:40 EDT 2023


On 9/11/2023 3:53 PM, gah4 wrote:
> On Monday, September 11, 2023 at 12:46:03 PM UTC-7, bill wrote:
> 
> (snip)
> 
>> If you want a status returned to DCL I expect that would do it.
> 
> But DCL will give you a funny message, instead of a number.
> 
> Years ago, I had a program that returned 8.
> 
> For IBM OS/360 and descendents, 8 is error,
> (4 is warning, 12 is even worse error).
> 
> And then VMS gives a surprising message, that doesn't help at all.

What is surprising about the below messages, and the escalation in their severity?

$ exit 8
%SYSTEM-W-ACCVIO, access violation, reason mask=00, virtual address=0000000000000008, PC=000000007AEE1EA8, PS=00000000
$ exit 10
%SYSTEM-E-ACCVIO, access violation, reason mask=00, virtual address=000000000000000A, PC=000000007AEE1EA8, PS=00000000
$ exit 12
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000000C, PC=000000007AEE1EA8, PS=00000000


$ HELP /MESSAGE ACCVIO will explain the above.

-- 
		-- Rob




More information about the Info-vax mailing list