tinycobol/test.code/esql
Nilo Roberto C Paim 945dd1a809 version 0.73.0 2023-07-14 12:15:30 -03:00
..
Build version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.create version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.insert version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.list version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.rollback version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.table version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.trans version 0.73.0 2023-07-14 12:15:30 -03:00
Readme version 0.73.0 2023-07-14 12:15:30 -03:00
esql.create.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
esql.insert.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
esql.list.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
esql.rollback.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
esql.table.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
esql.trans.ecob version 0.73.0 2023-07-14 12:15:30 -03:00
fixit version 0.73.0 2023-07-14 12:15:30 -03:00

Readme

Tiny Cobol can now compile the Cobol Code Generated by GPRE from the Firebird
SQL DATABASE. This now means that it is possible to write cobol Programs using
ESQL commands and Compile and run the resultant code.

Here is a short write up on how to get started.
Go to http://firebird.sourceforge.net and download and install the Classic
version of Firebird from the Download section. I installed 
FirebirdCS-1.0.0.796-0.i386.rpm.  

The Build Script is an example of how I compile and run the code.
Any file ending in .ecob is the scource code.
The fixit script gets rid of the "-" in column 1 as TinyCobol does not like it.

I have noticed that there are a few Bugs in Gpre in that it sometimes does
not declare a variable name or mispells it. Report all such errors on the 
Firebird mailinglist so that they can fix it. I just used redefines to get
around the problem for now. These bugs are now fixed in the latest nightly build.

/opt/interbase/bin/qli Is a command line Interface
To see the Database created by these Programs
/opt/interbase/bin/qli
> ready demo.gdb
> select * from FRIEND;
will display the contents of the Table FRIEND.

Have fun with ESQL.
While you are about it download and Read the Firebird Manuals for assistance.

Regards
Andrew Cameron