Skip to main content

[archive] unix pre-processor

  • October 18, 2007
  • 9 replies
  • 0 views

[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. (?)

9 replies

[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. (?)
You need to use the CODE_PREFIX config file entry assuming you're not running under thin client that is.

[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. (?)
You need to use the CODE_PREFIX config file entry assuming you're not running under thin client that is.

[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. (?)
Sorry - I should have mentioned that I am trying to run this under thinclient.

[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. (?)
Sorry - I should have mentioned that I am trying to run this under thinclient.

[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. (?)
or check CODE-SUFFIX...

[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. (?)
or check CODE-SUFFIX...

[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. (?)
or check CODE-SUFFIX...

[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. (?)
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?

[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. (?)
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?