Skip to main content

Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

The errors are indicating that you are using syntax which is not supported in OpenESQL.

You are declaring a variable using Oracle PL/SQL which is not directly supported.

Where did this code come from? Was it previously compiled using Pro*COBOL instead of OpenESQL?


Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

Hi Chris,

Earlier this was compiled using Server Express Cobol 5.1.

Thank You,

Ramesh


Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

Hi Chris,

Earlier this was compiled using Server Express Cobol 5.1.

Thank You,

Ramesh


Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

Did you use the same set of compiler directives in SX as you are in VC or did you previously use the Oracle Pro*COBOL precompiler  with SX?


Hi,

I am compiling .cbl in unix environment using Visual Cobol Development Hub, having below errors.

625 EXEC SQL VAR WS-KCT-ROWID IS ROWID END-EXEC.
* 801-S*********************************************** ( 0)**
** External Compiler Module message
** ES0100
1032 END-EXEC
* 801-S**************** ( 11)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1139 END-EXEC.
* 801-S************ ( 18)**
** External Compiler Module message
** ES0100 Host variable used but not declared
1443 END-EXEC.
* 801-S************ ( 20)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch
1463 END-EXEC.
* 801-S************ ( 26)**
** External Compiler Module message
** ES0100 Host variable used but not declared
* 302-S************ ( 26)**
** IF....ELSE or scope-delimiter mismatch

Any ideas?

Thank You,

Ramesh

Hi Chris,

I am using the same set of compiler directives. Nothing has changed.

     $set sql(dbman=odbc targetdb=ORACLEOCI)

     $SET IBMCOMP

==================================

Compiler command

cob64 -x -t -P -C "sql(targetdb==oracleoci)"

Thank You,

Ramesh