Highlighted
Absent Member.
Absent Member.
401 views

[archive] unix pre-processor

[Migrated content. Thread originally posted on 18 October 2007]

Another semi-related problem I'm having with the same application. The intended batch program was written with imbedded SQL code pre-compiled on Unix which created a .cob extension. This file was then added to my 'Source' module of my project. When I CHAIN or CALL PROGRAM to this module from the screen app - the first CALL "SQLADR" encountered causes the program to fail with an error message box proclaiming "SQLADR: Program missing or inaccessable" - the first bit of pre-compiled code in the .cob file. This only happens with CALL PROGRAM or CHAIN. (?)
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] unix pre-processor

You need to use the CODE_PREFIX config file entry assuming you're not running under thin client that is.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] unix pre-processor

Sorry - I should have mentioned that I am trying to run this under thinclient.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] unix pre-processor

or check CODE-SUFFIX...
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] unix pre-processor

Sorry - I should have mentioned that I am trying to run this under thinclient.


Sorry John.
I don't know why I even typed anything about thin client.

CODE_PREFIX is used there too (And CODE-SUFFIX fot that matter too). I was thinking about FILE_PREFIX instead

Do you use a config file?
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.