[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cobol

Title:VAX/DEC COBOL
Notice:Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK
Moderator:PACKED::BRAFFITT
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3250
Total number of notes:13077

3250.0. "Access violation when a Cobol PRG opens a RMS file" by ANNECY::GARUFI_D () Fri Jun 06 1997 08:40

    
    
    
Sometimes, we have a crash when a Cobol program opens a RMS file.
    
We used:

	- VAX OpenVMS V6.2 
	- DECFORMS DECforms V2.1-0 DS V3.9-110
	- VAX COBOL V5.3-40



It seems to be a Cobol version problem (VAX COBOL V5.3-42):

Here the problem:

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000001D0, P9
break on unhandled exception at PRGSIG000\STRUCTURE\P-INIT\%LINE 5264+127
  5264:         OPEN INPUT F_AI                 ALLOWING ALL.

The F_AI is a logical which refers to an existing RMS file:

SIG_R23>sh log f_ai
   "F_AI" = "DATADIR:AI.IDX" (LNM$PROCESS_TABLE)
SIG_R23>dir DATADIR:AI.IDX

SIG_R23>dir/full DATADIR:AI.IDX

Directory BANKSYS:[DEVSIG.DATA.R23]

AI.IDX;1094                   File ID:  (55827,3,0)
Size:           50/50         Owner:    [DEV,BARBA_J]
Created:   27-NOV-1996 15:42:30.64
Revised:    4-JUN-1997 16:59:40.76 (4)
Expires:   <None specified>
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Indexed, Prolog: 3, Using 1 key
Shelved state:      Online
File attributes:    Allocation: 50, Extend: 0, Maximum bucket size: 2
                    Global buffer count: 0, No version limit
Record format:      Fixed length 30 byte records
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RWED, World:RWED
File protection:    System:RWED, Owner:RWED, Group:RWED, World:RWED
Access Cntrl List:  None

Total of 1 file, 50/50 blocks.

 Is someone have an idea ???

	Thanks in advance

    
T.RTitleUserPersonal
Name
DateLines
3250.1VAX COBOL V5.3-40 has a known problem - ACCVIO on OPENPACKED::BRAFFITTFri Jun 06 1997 10:4213
>	- VAX COBOL V5.3-40

    There is a known problem with VAX COBOL V5.3-40 and RMS special
    registers that can cause a runtime ACCVIO on OPEN.
    
    That problem is fixed in VAX COBOL V5.4.  There is also a TIMA  kit
    (COBOLVAXE01053) with the fix (see note 2963.35).
    
>It seems to be a Cobol version problem (VAX COBOL V5.3-42):
    
    If you still see a problem after installing either COBOLVAXE01053 or
    VAX COBOL V5.4, please post a pointer to a save set with the source
    file and any input data files that are needed to reproduce the problem.