Operating System - OpenVMS
1828427 Members
5006 Online
109977 Solutions
New Discussion

Datatrieve Access Violation. ACCVIO error.

 
John Vercamer
New Member

Datatrieve Access Violation. ACCVIO error.

When running a big and complex procedure (READY of 34 domains) in Datatrieve (v7.2), it dumps with an access violation after adding and IF and FOR statement to read the 34th domain.

DTR> :downl-miles-ctr

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000860
%SYSTEM-F-ACCVIO, access violation, reason mask=70, virtual address=200000000000

Improperly handled condition, image exit forced.
Signal arguments: Number = 0000000000000003
Name = 000000000000000C
000000000014ED70
200000000000001B

Register dump:
R0 = 0000000000000000 R1 = 0000000000100000 R2 = 00000000000F0960
R3 = 0000000000414240 R4 = 0000000000374908 R5 = 0000000000000001
R6 = 0000000000039624 R7 = 00000000008D8216 R8 = 0000000000035A54
R9 = 000000000000000C R10 = 000000000000000C R11 = 0000000000000001
R12 = 0000000000000000 R13 = 000000007AFB8340 R14 = 0000000000000000
R15 = 000000007AFB79A0 R16 = 000000000000000C R17 = 0000000000000003
R18 = 000000007BB9475C R19 = 000000007FFEFF98 R20 = 0000000000000000
R21 = 0000000000000000 R22 = 0000000000000001 R23 = 0000000000000000
R24 = 0000000000000000 R25 = 0000000000000001 R26 = 000000000014ED70
R27 = 000000007B516E50 R28 = 200000000000001B R29 = 000000007AF11760
SP = 000000007AF11760 PC = 000000000014ED70 PS = 200000000000001B

When putting the FOR in comment and only keep the IF statement, following error occurs :

DTR> :downl_miles_ctr
Stack overflow, PC=0000000000000001, PS=00000000

Has anyone an idea why ?
5 REPLIES 5
Wim Van den Wyngaert
Honored Contributor

Re: Datatrieve Access Violation. ACCVIO error.

Improperly handled quota exceeded ?

Wim
Wim
John Vercamer
New Member

Re: Datatrieve Access Violation. ACCVIO error.

And what do you mean with "quota exceeded" ?

I am not very familiar with VMS technical issues.

Thanks, John
Wim Van den Wyngaert
Honored Contributor

Re: Datatrieve Access Violation. ACCVIO error.

If you do
$ sh proc/quota
you'll see a number of limitations for your process such as open file. This limit comes from the user definition. If it is too low, you are unable to open files behind a certain point. Post the output of this and
"mc authorize show [userid]" if you need help.

Wim
Wim
John Vercamer
New Member

Re: Datatrieve Access Violation. ACCVIO error.

sh process _TNA3452: /quota

Process Quotas:
Account name: LEASE
CPU limit: Infinite Direct I/O limit: 150
Buffered I/O byte count quota: 92832 Buffered I/O limit: 150
Timer queue entry quota: 10 Open file quota: 63
Paging file quota: 1757024 Subprocess quota: 10
Default page fault cluster: 64 AST quota: 246
Enqueue quota: 1870 Shared file limit: 0
Max detached processes: 0 Max active jobs: 0

----------------------------------------
MC AUTHORIZE info :

CLI: DCL Tables: DCLTABLES
Flags:
Maxjobs: 0 Fillm: 100 Bytlm: 64000
Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0
Maxdetach: 0 BIOlm: 150 JTquota: 4096
Prclm: 8 DIOlm: 150 WSdef: 2000
Prio: 4 ASTlm: 250 WSquo: 4000
Queprio: 4 TQElm: 10 WSextent: 16384
CPU: (none) Enqlm: 2000 Pgflquo: 2000000
Jan van den Ende
Honored Contributor

Re: Datatrieve Access Violation. ACCVIO error.

John,

I'm practically ignorant on Datatrieve, but

WELCOME to the VMS forum!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.