From: Chuck Haatvedt <chuck.haatvedt@gmail.com>
To: pgsql-general@postgresql.org
Cc: Simon Sobisch <simonsobisch@gnu.org>
Subject: COBOL PRECOMPILER for PostGreSQL
Date: Fri, 12 Jan 2024 23:39:30 -0600
Message-ID: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com> (raw)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="4" face="Courier New">Hello,<br>
<br>
I'm working with the opensource GNUCOBOL project. One of our
efforts is to provide a migration path for organizations to move
from commercial COBOL compilers to GNUCOBOL. One of the
impediments to this migration is to move from an Oracle or IBM
RDBMS solution to PostGreSQL. Most organizations are using one of
these RDBMS solutions with COBOL precompilers supplied by the
vendor and have embedded SQL in their source code. This represents
a significant challenge to any migration as there is not a COBOL
precompiler for PostGreSQL.<br>
<br>
I would like to propose that the ECPG precompiler for C, to be
modified to accept either C or COBOL. Another option would be to
clone ECPG to work with the COBOL language. For the most of the
COBOL variable types it should not be too difficult to convert
them to C variables which would reduce the effort. Both of these
RDBMS use the syntax similar to C, EXEC SQL ..... END-EXEC, where
text between them is the actual SQL statement or variables.<br>
<br>
Thanks for your consideration,<br>
</font>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<meta name="generator" content="LibreOffice 6.4.3.2 (Windows)">
<meta name="created" content="2008-08-29T00:00:00.021010100">
<meta name="changed" content="2020-04-24T14:16:55.044000000">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.08in }
</style>
<p style="margin-bottom: 0in"><font
face="Monotype Corsiva, cursive"><font style="font-size: 18pt"
size="5"><span style="background: #ffffa6">Chuck
Haatvedt</span></font></font></p>
<p style="margin-bottom: 0in"><font face="Courier New, monospace"><font
style="font-size: 14pt" size="4"><span
style="background: #ffffa6"><a class="moz-txt-link-abbreviated" href="mailto:chuck.haatvedt@gmail.com">chuck.haatvedt@gmail.com</a></span></font></font></p>
</div>
</body>
</html>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: chuck.haatvedt@gmail.com, simonsobisch@gnu.org
Subject: Re: COBOL PRECOMPILER for PostGreSQL
In-Reply-To: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com>
References: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox