Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
Content starts here

Ask the Wizard Questions

COBOL bug

The Question is:


How can I get the right line number from a COBOL
program for a Subscript out of range error in the
traceback. It looks like the compiler generates a GENTRAP
instruction, and then all the range checking code jumps
there to generate the crash.


The Answer is:

    Your analysis is correct. Thank you for bringing this issue to the
    attention of the COBOL engineering team. This problem has been logged
    into the problem tracking system used by COBOL engineering. A response
    will be posted here when the problem is resolved.

    In the meantime, be aware that more accurate traceback functionality
    is available with OpenVMS V7.0. Also, compiling the program /NOOPT
    should improve the behavior and reliability of the traceback
    information.
--------------------------------------------------------------------------------
                    -< Fixed with DEC COBOL V2.4 compiler >-
--------------------------------------------------------------------------------
    We have fixed this problem.  The fix will be available in the next
    release of DEC COBOL (tentatively called V2.4).

    If you are interested in field testing DEC COBOL T2.4 to evaluate the
    fix, send mail to

    	cobol_ft@packed.enet.dec.com

    Thanks.



 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from the Adobe Web site.
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.