Open GitMensch opened 2 years ago
This is partly done, but for now it works from Gix-IDE only, I suppose it can be moved to GixSQL/gixpp. Though it surely needs to be extended and improved, and I haven't looked at it in a while, it should be functional: it's part of the "DB manager" classes, look here as a starting point.
It would be good to be able to let the preprocessor (via existing calls to GixSQL) connect to the DB for the following purposes:
Sample for the last one:
then gixsql woul connect to "MYCON" with connection data passed either via command line option or via environment, execute a
DESCRIBE TABLE
and convert the SQL columns back into COBOL, applying name transformation like underscore becoming dash: