COBOL PRECOMPILER for PostGreSQL

From: Chuck Haatvedt <chuck(dot)haatvedt(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Simon Sobisch <simonsobisch(at)gnu(dot)org>
Subject: COBOL PRECOMPILER for PostGreSQL
Date: 2024-01-13 05:39:30
Message-ID: cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!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(dot)haatvedt(at)gmail(dot)com">chuck(dot)haatvedt(at)gmail(dot)com</a></span></font></font></p>
</div>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.3 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-01-13 06:08:49 Re: COBOL PRECOMPILER for PostGreSQL
Previous Message David Ventimiglia 2024-01-13 05:23:46 Re: How to redirect output from PostgreSQL pg_recvlogical to a file or a pipe?