Highlighted
Absent Member.
Absent Member.
1602 views

acucobol compiler

Jump to solution

One of our users is getting a run time error when our program is connecting to excel in Office 2013 which does not occur connecting to Office 2007. Problem is I cannot remember the command line for the compiler to get the address of the procedure division so I can see what statement is causing the problem. It gives me Cobol error at 0003AF, but I need to know where 0003AF is in the program? Any help on this please?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

RE: acucobol compiler

Jump to solution

The addresses of PROCEDURE DIVISION statements is shown in a wide listing.  For example,

   ccbl32 -Lfwo @.lst test1.cbl

will show the PROCEDURE DIVISION locations in the listing file test1.lst.

View solution in original post

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: acucobol compiler

Jump to solution

The addresses of PROCEDURE DIVISION statements is shown in a wide listing.  For example,

   ccbl32 -Lfwo @.lst test1.cbl

will show the PROCEDURE DIVISION locations in the listing file test1.lst.

View solution in original post

0 Likes
Highlighted
Visitor.

RE: acucobol compiler

Jump to solution

In addition to Bruce's answer, if you compile the program with either the -Gd or -Ga* option, the runtime error message will include the line number and file name of the offending line.

*-Ga is shorthand that implies all debugging options including -Gd

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.