I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
This error means that either the Oracle Client is either not installed or that the procob precompiler is not within the PATH so it cannot be found.
Also, CSQLT=ORA10 is invalid.
It should be set to CSQLT=ORACLE8
You need to include procob.exe within the PATH on your system.
Example, on my system I have the Oracle 11.2 client installed and procob is in the following folder:
C:\\app\\crg\\product\\11.2.0\\client_1\\BIN
By adding this to the PATH environment variable procob.exe will be found.
Thanks.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
I have procob installed now, your fix worked (so far).
Now I am getting an error while compiling, see below:
* CSQL-I-020: Processing output of ORACLE8 Precompiler
* CSQL-I-027: Detected Working-Storage, now processing it
* CSQL-I-028: Now processing through Procedure Division
COBPR0000S 000008:Must use option SQLCHECK=SEMANTICS(FULL) when there is embedded PL/ : "C:\\Work\\Net Express Projects\\rg-eval.pco"(618,7)
* CSQL-I-001: Cobsql has finished returning to the Checker
Rebuild complete with errors
How might I go about setting "SQLCHECK=SEMANTICS(FULL)"? Should this be done in the cobol.dir file?
Thanks again!
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
SQLCHECK=SEMANTICS or SQLCHECK=FULL are synonymous and are Oracle Pro*COBOL directives not COBOL or COBSQL directives.
From the Net Express docs:
For both project settings and Net Express Build settings, END-C and ENDP have the following effect:
Directives placed before END-C pass to COBSQL
Directives placed between END-C and ENDP pass via COBSQL to the precompiler
Directives placed after ENDP pass to the COBOL compiler. Therefore, without the ENDP directive, compiler directives continue to pass to COBSQL rather than to the COBOL compiler.
So your command to add SQLCHECK=FULL as a precompiler option would be:
p(COBSQL) CSQLT=ORACLE8 CSTART CSTOP VERBOSE makesyn END-C SQLCHECK=FULL p(cp) ENDP
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
Thanks, that worked. I can compile COBOL now. However I get a new error when trying to run an executable:
"Execution of the program ORA8LIB has been interrupted. This program is not animatable, but you can view the call/perform stack. The case of the interrupt was: 173 Called program file not found in drive/directory
ADIS"
Again, thank you for your help.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
ADIS is the ACCEPT/DISPLAY module.
The 173 means that it cannot be found.
Try adding C:\\Program Files\\Micro Focus\\Net Express\\Base\\Lib\\adis.obj to the Link Tab under Project-->Build Settings for the .EXE.
Under Category, choose Advanced and then add the adis.obj to the Link with these OBJs field.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
Adding adis.obj corrected the 173 error, now this error appears:
Execution of the program ADIS has been interrupted. This program is not animatable, but you can view the call/perform stack.
The cause of the interrupt was: 161 Illegal intermediate code adis
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
Adding adis.obj corrected the 173 error, now this error appears:
Execution of the program ADIS has been interrupted. This program is not animatable, but you can view the call/perform stack.
The cause of the interrupt was: 161 Illegal intermediate code adis
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
Adding adis.obj corrected the 173 error, now this error appears:
Execution of the program ADIS has been interrupted. This program is not animatable, but you can view the call/perform stack.
The cause of the interrupt was: 161 Illegal intermediate code adis
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
Try the following:
Remove the adis.obj from the Link Settings.
Under Project-->Build Settings choose the Link Tab for the .EXE.
Under Category, choose Advanced and then remove the adis.obj from the Link with these OBJs field.
Under Options at the botton of that same dialog box check the option for include system programs.
Rebuild and all the necessary files should be included.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
I removed the adis.obj from the link tab.
The "Include system programs" was already checked.
I rebuild with no errors, but still get the 161 error when trying to Animate.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
That makes no sense.
If the "Include System programs" was checked previously then you should not have received the 173 error on ADIS.
Did you change this setting at the same time that you added adis.obj to the link?
Make sure that you do a Rebuild All from the Project menu so everything is rebuilt and try again.
The 161 indicates a corrupt object file.
Do you get this error on the first ACCEPT/DISPLAY statement in the program?
If you still get the 161 error after a rebuild all, could you please zip up your project folder including subfolders like DEBUG and RELEASE and send it to me at chris.glazier@microfocus.com?
Thanks.
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
It seems like Net Express is trying to compile the EXE file I am using. This EXE is on a shared drive, and I think that when it is attempting to run, Net Express does not find the files that the program needs.
The original change, adding adis.obj to the build settings, modified the EXE file. Luckily I had a backup and restored to the original version. This EXE file is used by other developers in our test environment, and they are not having this issue. The EXE is used to launch COBOL code which runs the application.
Again thank you so much for your help. Does this additional info shed any more light on what the problem could be?
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
You should not have Net Express set up to use a shared drive for its generated output if others are sharing the same drive.
You should set it up to output to the local drive project folders like DEBUG or RELEASE and then when you are done testing move it to a shared folder.
Try setting the dynamic option under Link Settings so that the registry will be used to locate the run-time files in the install folders.
When you are running this program how are you starting it, within the IDE or outside of the IDE?
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
I think we found the answer. Our application uses a report tool that it checks for on start up. My new machine did not have the tool installed so we were getting a lot of strange errors. I have installed the tool and I think the issues have been resolved.
Thanks again Chris for your help, it is greatly appreciated!
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
I think we found the answer. Our application uses a report tool that it checks for on start up. My new machine did not have the tool installed so we were getting a lot of strange errors. I have installed the tool and I think the issues have been resolved.
Thanks again Chris for your help, it is greatly appreciated!
I am getting an error when trying to compile COBOL source code in Net Express version 4.0.38.
Below are the messages I receive:
Rebuilding C:\\Work\\Net Express Projects\\rgc-info.pco
* Micro Focus COBSQL Integrated Preprocessor
* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.
* URN AAAPA/ZZ0/00065
* CSQL-I-006: Rejected CSQLT=ORA10
* CSQL-I-004: Accepted VERBOSE
* CSQL-I-004: Accepted makesyn
* CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8
* CSQL-I-008: Invoking cp Preprocessor
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Rebuild complete with errors
Here is what is in my my cobol.dir file:
copyext(cob,cpy) p(COBSQL) CSQLT=ORA10 CSTART CSTOP VERBOSE makesyn p(cp) ENDP
Could anyone point me in the direction of what may be the problem?
Thank you!
I think we found the answer. Our application uses a report tool that it checks for on start up. My new machine did not have the tool installed so we were getting a lot of strange errors. I have installed the tool and I think the issues have been resolved.
Thanks again Chris for your help, it is greatly appreciated!