Highlighted
Absent Member.
Absent Member.
517 views

[archive] exec sql returns error compiling from Thin Client

[Migrated content. Thread originally posted on 21 April 2005]

All of our COBOL programs have embedded sql. And we had relatively few problems converting the programs from Micro Focus to AcuCOBOL. They all run fine on our HP.

Now we are trying to use Thin Client but I can't get my test program to compile. It doesn't understand the exec sql lines for the Working Storage Declare Sections.

* DATA BASE ITEMS
EXEC SQL
BEGIN DECLARE SECTION
END-EXEC.
01 GR-SQL-CALL-KEY PIC X(11).
01 GR-SQL-CALL-TIME PIC X(8).
01 GR-SQL-CALL-OPERATOR PIC X(10).
01 GR-SQL-CALL-NAME PIC X(30).

EXEC SQL
END DECLARE SECTION
END-EXEC.

line 3: Illegal level number: EXEC
line 11: Illegal level number: EXEC

Does anyone have experience using Embedded sql in a Thin Client environment?

Thanks,
John C
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] exec sql returns error compiling from Thin Client

Please check the compiler options that you are using, as the compiler messages that you are getting is due to the precompiler options not being used (-Ps etc.).
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] exec sql returns error compiling from Thin Client

Thanks Shaun,

I'll give it a try.....I thought I'd try the Forum for this problem because you've helped me in every other problem to date! I didn't want to always bother customer service for everything....

Is there anything you don't know???

John C.
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.