[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

3231.0. "procobol -> accvio at runtime?" by CSC32::J_HENSON (Don't get even, get ahead!) Thu Apr 17 1997 16:00

Cobol V5.3-40, OpenVMS V6.2, vax, Oracle ProCobol V7.1.5 and v7.0.16

Has anyone seen any runtime problems with ProCobol?  I have a customer
who is getting an accvio on a cobol open statement, but only when
she uses Oracle ProCobol V7.1.5.  She claims that if she pre-processes
the same code with V7.0.16, it runs ok.

The nature of the failure is that an accvio occurs on the first Open statement
it encounters.  She has tried moving the open statement
around, and the error tracks the open statement.  If she executes
it as the first executable statement, that's where it blows.

I have suggested she contact Oracle, as their version of ProCobol is
the only thing different.  I have also suggested she compare the
intermediate source code that ProCobol generates for each version.

Any other ideas?

This realy seems to me to be a ProCobol issue, but I thought I had
better check in here just to see if I'm missing something.

Thanks,

Jerry

U.S. CSC
T.RTitleUserPersonal
Name
DateLines
3231.1RMS special registers?PACKED::BRAFFITTThu Apr 17 1997 18:1014
>Cobol V5.3-40, OpenVMS V6.2, vax, Oracle ProCobol V7.1.5 and v7.0.16
    
>The nature of the failure is that an accvio occurs on the first Open statement
>it encounters.  She has tried moving the open statement
>around, and the error tracks the open statement.  If she executes
>it as the first executable statement, that's where it blows.

    Does the program use RMS special registers?  There is a bug in VAX
    COBOL V5.3-40 which can cause a runtime ACCVIO on an OPEN if the
    program includes references to RMS special registers.
    
    The problem is fixed with VAX COBOL V5.4 which is now shipping from the
    SSB.  Also, the CSCs have a VAX COBOL V5.3 TIMA kit (which includes the
    V5.3-42 compiler) which corrects the problem.
3231.2Is the COBOL program attempting to open many files?PACKED::MASLANKAThu Apr 17 1997 18:1511
Re .0

How many files is she trying to open in this VAX COBOL program?
or does she have a "huge" Data Division? A problem was reported
and resolved when attempting to have more than 67 files open 
concurrently. The same effect could occur with a "huge" DD.

This problem was corrected in VAX COBOL V5.3-42. The Backup 
savesets for it can be found in CLT::CLT$LIBRARY:[C79NET.V53]. 
Also, the fix for the problem in in VAX COBOL Version 5.4, which 
is now shipped since 31-Mar.
3231.3thanksCSC32::J_HENSONDon't get even, get ahead!Fri Apr 18 1997 10:5110
I don't really know the nature of the Open, other than it's occurring on
the very first file open.  I'll have to check with the customer.

I'll suggest the either order the eco or upgrade.  If it's a cobol problem,
she should be using the very latest version before we start chasing the
problem.

Thanks,

Jerry