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?
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?
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.
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?
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.
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?
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.
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?
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
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.