Tag Archives: gnuCOBOL

COBOLWorx GnuCOBOL and Debugger

The next step in delving back into COBOL is to get a working debugger. While using DISPLAY debug lines was the only debugging I had available when I did this for a living, there should be no reason to have … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Debugging GnuCOBOL Using WITH DEBUGGING MODE

Prior to COBOL85, COBOL had its own debug module accessed in the DECLARATIVES. This was removed in the 1985 standard. It appears gnuCOBOL still supports the older debugging, but given gdb can be used (next blog post), I won’t go … Continue reading

Posted in c-gnuCOBOL | Tagged | Leave a comment

Calling Pascal procedures to Manipulate the GnuCOBOL String Data Structure

Last episode saw the definition of a string data structure for COBOL. This episode will show how to write Pascal Code to manipulate the string data structure (cst-string). Using these examples, it would be easy enough to implement any needed … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

A String Data Structure for GnuCOBOL

When I started to learn COBOL in the late 70’s, HP BASIC was my primary language. BASIC is adept at handling strings. As I quickly found, COBOL (particularly the 1968 standard I was using), was not. I know there are … Continue reading

Posted in c-gnuCOBOL | Tagged | Leave a comment

Parameter Passing when calling Free Pascal from GnuCOBOL

In our last exciting episode of gnuCOBOL, I showed the rudiments of calling a Pascal program from COBOL. Today I will delve deeper into passing parameters. Example Code Rather than put a lot of code straight into this post, here … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Calling Free Pascal Procedures from GnuCOBOL in Windows

I’m slowly working through various experiments with gnuCOBOL. One experiment is to call Pascal code from a gnuCOBOL program. The gnuCOBOL FAQ has an example, but I presume this only works for Linux. It definitely doesn’t work for MinGW/Windows. I … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Installing gnuCOBOL into MinGW

I’ve been away from this project for several months and managed to forget exactly how I was supposed to invoke the COBOL compiler. I had made a note in the post Installing gnuCOBOL on Windows, but that just tells where to … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Installing MinGW (for gnuCOBOL)

As I started researching how to install the gnuCOBOL SQL preprocessor, I found that there are no binaries (Windows or Linux). If I’m going to move forward, I’m going to have to be able to  compile the preprocessor. One option … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Installing PostgreSQL (for GnuCOBOL)

I recently wrapped up a couple of mainframe COBOL/DB2 classes at udemy.com. In general, these were refresher courses in COBOL, but I did find the EXEC SQL pre-processor very interesting. I left the COBOL world before SQL was mainstream. When … Continue reading

Posted in c-gnuCOBOL | Tagged , | Leave a comment

Installing gnuCOBOL on Windows

7 years ago I did some testing with Open COBOL. I wanted to see how well it implemented COBOL and do some performance testing as well. As I recall, the implementation was lacking a bit, but I was still able … Continue reading

Posted in c-gnuCOBOL | Tagged | 1 Comment