Have GnuCobol cobc compiler installed in Ubuntu
esqlOC installed for SQL pre-processing, Cob-DB2 is working fine. For Cobol with postgres what should be the source program type (like .sqb is for Cob db2)
Presume a new DSN has to be added in data server driver config file with IP and port of Postgres
Whats source program type for GnuCobol with embedded Postgres
349 Views Asked by Arun At
1
There are 1 best solutions below
Related Questions in POSTGRESQL
- Only the first SQL script gets executed inside Docker Postgres container
- Compare fields in two tables
- Hibernate ClobJdbcType bindings: what are the diferences?
- Postgres && statement Error in Mybatis Mapper?
- Can this query be optimized? (Choosing a random row to insert, that excludes previously inserted Rows)
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- How to copy data from SQLite to postgreSQL?
- PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
- Updates to pgsodium encrypted values don't use specified key_id
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
- Get list of matching keywords for each post
- docker-compose can't reset postgresql database
Related Questions in GNUCOBOL
- how to form fields section in xfd file
- DevC++ C calling OpenCobolIDE module
- OpenCOBOL Complex ODO (OCCURS DEPENDING ON)
- GnuCOBOL: Trying to create a recursive user defined function
- getting unwanted output in cobol program
- OPENCOBOLIDE INSTALLATION - arch linux
- Problem with displaying records from a sequential file
- Easytrieve to cobol
- GnuCOBOL not handling my legacy COBOL code with the options I pass
- im using VSCODE gnucobol, why its not accepting decimal in accept statement?
- Why use VALUE HIGH-VALUES in 88 Conditionals?
- gnucobol gcc: error: `cob-config: No such file or directory
- OpenCobol file status 35
- Cobol not numeric name
- Adding two integers giving unwanted result in cobol
Related Questions in EMBEDDED-SQL
- RPG file using dynamic SQL fails to display data to display file
- Using Pro*C/C++, in C++ code, can define structure type outside Declare Section and declare the structure variable inside the Declare Section?
- Unexpected output of embedded SQL program
- How to display constraint using ESQL/C?
- Using Host Array in Open Cursor in Embedded SQL
- ESQL INFORMIX precompilation step in makefile : error -33042 cannot open input file
- mysql.h compile, but not its functions
- How to call an esql/c program from Java directly
- Precompile embedded sql in c on ubuntu linux db2 does not work
- RPGLE embedded SQL 'select from final table...' throwing SQL0029 at compile time
- IIB: INSERT INTO Oracle Database "¿" (inverted question marks) and chinese characters
- Whats source program type for GnuCobol with embedded Postgres
- Header files not recognized in PROC compiler 12.2 even with SYSHDRS in mkmf of HP-U
- Embedded SQL in RPGLE performance in Update
- SQL Server stored procedure in embedded SQL with host variables
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is no PostgreSQL preprocessor for embedded SQL in Cobol.
You should write the code that accesses the database in C and link the compiled C code with your Cobol program.
You can have embedded SQL in C for PostgreSQL using the
ecpgpreprocessor that is included in PostgresSQL.