gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [open-cobol-list] AW: Open Cobol and SQL - repost?


From: Frank Polscheit
Subject: AW: [open-cobol-list] AW: Open Cobol and SQL - repost?
Date: Mon Mar 22 12:08:01 2004

Hi Bob,
please find enclosed the latest version of COBSQL.

If you set the following environment variable within a unix shell like

    export PGSQL_CONTROL="AUTO-OPEN"

the generated cobol program will now use the auto-open call to establish
a database connection using the content of the 3 environment variables
PGSQL_DB, PGSQL_USER and PGSQL_PASSWORD, which have to be set within the
shell as well. If PGSQL_CONTROL is set to another value than
"AUTO-OPEN", you have to open the database connection within your COBOL
code as shown within the example code as comment (initialize PGSQL vars.
first, then call the open routine).

Cheers,
Frank

-----Ursprüngliche Nachricht-----
Von: address@hidden
[mailto:address@hidden Im Auftrag von Bob
Gesendet: 19.03.2004 04:29
An: address@hidden
Betreff: [open-cobol-list] AW: Open Cobol and SQL - repost?


Hi Frank,

I just downloaded Open Cobol (and TinyCobol, as well) and wanted to try 
using one or both with (preferably embedded) SQL for PostgreSQL.  I
found 
your message from a few weeks ago in the archives, but unfortunately,
the 
archives don't appear to keep attachments.

Would it be possible to repost your cobsql preprocessor, so I could try
it?

Thanks a lot,
  Bob Willan
----------------------
Hi Mike,
 thank you very much for your feedback below. I have put all 4 aspects
into the new version 0.2.1 (see attachment). ...<snip>
From: Frank Polscheit <address@hidden> 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
open-cobol-list mailing list address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


Attachment: cobsql.rb
Description: Binary data

Attachment: cobsql
Description: Binary data

Attachment: testen.cob
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]