Top
Enterprise Postgres 17 SP1 Application Development Guide

7.2.1 Environment Settings

When using embedded SQL in COBOL, the same environment settings as when using the C library (libpq) are required. Refer to "5.2.1 Environment Settings" in "C Library (libpq)" for information on the environment settings for the library for C.

Additionally, set the following path for the precompiler ecobpg in the PATH environment variable:

LinuxLinux
fujitsuEnterprisePostgresClientInstallDir/bin
WindowsWindows(R)
fujitsuEnterprisePostgresClientInstallDir\bin