[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] OCESQL Questions
From: |
Kevin Monceaux |
Subject: |
[open-cobol-list] OCESQL Questions |
Date: |
Wed, 18 Jun 2014 09:33:02 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Fellow COBOL Fans,
I've been meaning to give OCESQL a try ever since I heard of it. I'm not
sure while it's taken me so long to get around to it. I have a couple of
questions.
First, the README says to build programs using
cobc -locesql ...
After doing that running ldd against the resulting executable doesn't show
that it's linked to libocesql, and when trying to run it I get a "libcob:
Cannot find module 'OCESQLConnect'" error. I am able to run the program by
setting LD_PRELOAD to /usr/lib/libocesql.so. How to I get cobc to link the
executable to libocesql?
Second, does anyone know how to handle unlimited VARCHAR and/or TEXT
PostgreSQL data types in COBOL?
At the moment I'm testing it with:
opensource COBOL 1.3J
OSS Consortium's patched version of OpenCOBOL1.1(Feb.06 2009)
--
Kevin
http://www.RawFedDogs.net
http://Lassie.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
- [open-cobol-list] OCESQL Questions,
Kevin Monceaux <=