Skip to main content

[Migrated content. Thread originally posted on 17 April 2012]

Hi I am trying to compile a program that uses oracle. Using the same commands I can copy other cobol programs in the environment.
The compiler is comlaining about the 'PROCEDURE DIVISION'being in the wrong place. I would like to generate the sks file that is created during our compilation but is seemingly removed afterward. I could then pass the sks file into the pre compiler directly to find the error messages that are being generated. Any one done that?

[Migrated content. Thread originally posted on 17 April 2012]

Hi I am trying to compile a program that uses oracle. Using the same commands I can copy other cobol programs in the environment.
The compiler is comlaining about the 'PROCEDURE DIVISION'being in the wrong place. I would like to generate the sks file that is created during our compilation but is seemingly removed afterward. I could then pass the sks file into the pre compiler directly to find the error messages that are being generated. Any one done that?
Hi,

It sounds like you are using Cobsql in conjunction with Pro*COBOL.

Please add the SQLDEBUG option to Cobsql, and then contact Micro Focus Support providing the additional debug files created, so we can review further.

Kind regards,
SimonT.

[Migrated content. Thread originally posted on 17 April 2012]

Hi I am trying to compile a program that uses oracle. Using the same commands I can copy other cobol programs in the environment.
The compiler is comlaining about the 'PROCEDURE DIVISION'being in the wrong place. I would like to generate the sks file that is created during our compilation but is seemingly removed afterward. I could then pass the sks file into the pre compiler directly to find the error messages that are being generated. Any one done that?
It will be better if you contact micro focus support with your COBOL Program/Code and Compiler options.

Thanks
Cheeta