33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
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
|
|
|
|
|