[go: up one dir, main page]

Activity for GnuCOBOL

  • Simon Sobisch Simon Sobisch modified ticket #1145

    GCSORT failure with FINDREP and STARTPOS <> 0

  • Marco Antoniotti Marco Antoniotti posted a comment on discussion Help getting started

    Or you issue M-x cobol-mode on a real editor 😏 On Sat, Nov 8, 2025 at 6:15 PM Michael Del Solio mds711@users.sourceforge.net wrote: That's a good result!! As a tip for people who like to use the fixed format: vertical lines can be displayed in the editor for the special COBOL columns. To do this, add the following to the settings.json of VS Code: "[cobol]": { "editor.rulers": [ 6,7,11,72,80 ]},"editor.guides.indentation": false, Simon has already posted this here, too: https://sourceforge.net/p/gnucobol/discussion/help/thread/0e3e3ebf1f/?limit=25#9a4c/47f5...

  • Michael Del Solio Michael Del Solio posted a comment on discussion Help getting started

    That's a good result!! As a tip for people who like to use the fixed format: vertical lines can be displayed in the editor for the special COBOL columns. To do this, add the following to the settings.json of VS Code: "[cobol]": { "editor.rulers": [ 6,7,11,72,80 ] }, "editor.guides.indentation": false, Simon has already posted this here, too: https://sourceforge.net/p/gnucobol/discussion/help/thread/0e3e3ebf1f/?limit=25#9a4c/47f5 This is nice and helpful for fixed format programs in my opinion. One...

  • Michael Del Solio Michael Del Solio modified a comment on discussion GnuCOBOL

    Hello Boris, Thank you very much. I will further investigate the problem(s) and will open a ticket on github. Probably this take some days for me but I will do so. Today I spent some hours to bring debugging run on my Ubuntu 24.04 with VS Code and a fresh self compiled GnuCOBOL from the 3.x-branch (SVN Rev 5593) but without success, too. In the generated tasks.json the SuperBOL macro definitions for debugging etc. are yellowed lined, so debug build will not add -g etc. to the cobc parameter list....

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion Help getting started

    The DB2 COBOL preprocessor is packaged with DB2 community edition. Currently at Ver 12. x (Ithink) db2 prep %2 target ibmcob bindfile db2 bind %3 The WINIDE DB2 support is transparent. Tell the IDE to compile a program. If it contains EXEC SQL the DB2 preprocessor and bind are invoked automatically. Review the release at https://www.wincobol.com/post/winzos-winide-much-improved

  • Ralph Linkletter Ralph Linkletter posted a comment on discussion Help getting started

    The DB2 COBOL preprocessor is packaged with DB2 community edition. Currently at Ver 12. x (Ithink) db2 prep %2 target ibmcob bindfile db2 bind %3

  • Mickey White Mickey White posted a comment on discussion Help getting started

    What operating system? Windows, Linux, Mac ? Here is some info that has been discussed https://sourceforge.net/p/gnucobol/discussion/cobol/thread/e743f2fc28/?limit=25#2679

  • Jorge Kusznir Jorge Kusznir posted a comment on discussion Help getting started

    I'm writing to ask where I can find more information about: EXEC SQL preprocessors available for PostgreSQL, Firebird, ODBC and DB2

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension from inside VSCODE. Now I can open and edit a GnuCOBOL source code from VSCODE. Then I downloaded gnucobol-3.2-aio-20240402-user.msi from https://superbol.eu/developers/windows/ and installed GnuCOBOL 3.2 Executing from a "cmd" session the following command : cobc prog1.cob -x works fine. Then the prog1 program executes ok. UPDATE: Exit and re-enter from VSCODE. Now from VSCODE menu: Terminal -->...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension to VSCODE. Now I can open and edit a GnuCOBOL source code. Then I downloaded gnucobol-3.2-aio-20240402-user.msi from https://superbol.eu/developers/windows/ and installed GnuCOBOL 3.2 Executing from a "cmd" session: cobc prog1.cob -x works fine. Then the prog1 program executes ok. Can someone tell me where I should look to find out what I need to do to perform a simple GnuCOBOL compilation from whitin...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension to VSCODE. Now I can open and edit a GnuCOBOL source code. Then I downloaded gnucobol-3.2-aio-20240402-user.msi from https://superbol.eu/developers/windows/ and installed GnuCOBOL 3.2 Can someone tell me where I should look to find out what I need to do to perform a simple GnuCOBOL compilation ? I couldn't find any instructions in the SuperBOL documentation. When I download and install OpenCOBOLIDE,...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension to VSCODE. Now I can open and edit a GnuCOBOL source code. Then I downloaded GnuCOBOL 3.2 from Arnold's website. It's very strange but I don't find the most obvious things. Can someone tell me where I should look to find out what I need to do to perform a simple GnuCOBOL compilation ? I couldn't find any instructions in the SuperBOL documentation. When I download and install OpenCOBOLIDE, I simply...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension to VSCODE. Now I can open and edit a GnuCOBOL source code. Then I downloaded GnuCOBOL 3.2 from Arnold's website. It's very strange but I don't find the most obvious things. Can someone tell me where I should look to find out what I need to do to perform a simple GnuCOBOL compilation ? I couldn't find any instructions in the SuperBOL documentation.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on discussion Help getting started

    I have a new computer with WINDOWS 11. I installed VSCODE. I added the SuperBOL Studio OSS extension to VSCODE. I downloaded GnuCOBOL 3.2 from Arnold's website. Now I can open and edit a GnuCOBOL source code. Can someone tell me where I should look to find out what I need to do to perform a simple compilation ? I couldn't find any instructions in the SuperBOL documentation.

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    This IDE is for GnuCOBOL developers that create applications outside the domain of mainframe zOS. WINIDE has been enhanced to meet the requirements of educators and application developers. The GnuCOBOL components in WINIDE include upgrades to GnuCOBOL version 3.2 as reflected in GnuCOBOL 3.3-dev.5574 WINIDE with significant improvements is available for download at wincobol.com Review the release at https://www.wincobol.com/post/winzos-winide-much-improved Ralph

  • Ralph Linkletter Ralph Linkletter posted a comment on discussion GnuCOBOL

    This IDE is for GnuCOBOL developers that create applications outside the domain of mainframe zOS. WINIDE has been enhanced to meet the requirements of educators and application developers. The GnuCOBOL components in WINIDE include upgrades to GnuCOBOL version 3.2 as reflected in GnuCOBOL 3.3-dev.5574 WINIDE with significant improvements is available for download on the wincobol.com Review the release at https://www.wincobol.com/post/winzos-winide-much-improved Ralph

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified ticket #1159

    Negative values ​​for LINE and COLUMN

  • Mickey White Mickey White posted a comment on discussion GnuCOBOL

    I did download and .exe it. How do I know what version it is, downloaded WINZOS75 but is there a -version ? I see no change on the WINIDE With Animation ICON.. I see the danimedit.bat file, and shows good stuff, like copybook dir and all. Will play tomorrow.. Guess I will have to watch the video to remember to compile as .exe and .dll and how to run and where my input ( and output ) files go. Like create a sandalone exe file? So this is like Chuck's gnucobol with your stuff thrown in? I would like...

  • Rich Di Iulio Rich Di Iulio posted a comment on discussion GnuCOBOL

    Okay, I have found why this happens. I was looking for a solutions of putting together one Code Workspace file for both Windows and Linux. Someone responded to me with a solution, just combine the Folders section. I did that and it worked great. However, I would get the error mentioned above. "folders": [ { "name": "GUIWORKS - Win", "path": "r:\\guiworks" }, { "name": "Develop Tools - Win", "path": "C:\\develop\\devtools" }, // { // "name": "GUIWORKS - Unx", // "path": "/home/rdiiulio/shr/prj/guiworks"...

  • Ralph Linkletter Ralph Linkletter posted a comment on discussion GnuCOBOL

    Mickey, the new version is on the WINCOBOL website as of 18:30 EST November 6

  • Ralph Linkletter Ralph Linkletter posted a comment on discussion GnuCOBOL

    You can compile and execute Free Mode COBOL DB2PREP expects traditional COBOL (dB2 Community edition) Precludes dB2 - perhaps other SQL preprocessors will interact with Free The slew of my preprocessor components used to generate the animator enabled .DLL expect traditional COBOL formats. If the inverse of the program to make free source worked reliably I could add that as another preprocessor. But the animation line numbers would not be in sync with the original code. But again it would require...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on discussion GnuCOBOL

    Other resources with same topic. Comparison between some IDE and source Editors https://sourceforge.net/p/gnucobol/discussion/cobol/thread/dd43c6519c/?limit=50#6876 What is the best editor for GnuCOBOL? https://sourceforge.net/p/gnucobol/discussion/help/thread/b0c890ae7b/

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on discussion GnuCOBOL

    Hi Ralph, your description is truly impressive. My sincere compliments. Having an IDE developed and dedicated to GnuCOBOL could be a real advantage. It's just not clear whether it's possible to manage and use source code in FREE mode.

  • manny juan manny juan posted a comment on discussion Contributions

    After porting my engine from COBOL-85 to COBOL-74, I now have a single logic base that runs identically on modern systems and vintage mainframes. 4 ready-to-play adventures (forest, tower, temple, study) Win logic embedded in object records (no separate solution file) Includes a CLIST for interactive play in MVS READY mode in TK4- Tools to edit data files easily (PowerShell) It’s pure COBOL — no C, no libraries, just ACCEPT and DISPLAY. 🔗 https://github.com/manyone/cobol-adventure-engine 🖼️ (screenshot...

  • Rich Di Iulio Rich Di Iulio posted a comment on discussion GnuCOBOL

    I am sorry, I forgot. This happens in both Windows and Linux.

  • Rich Di Iulio Rich Di Iulio posted a comment on discussion GnuCOBOL

    I am trying to get restarted with GnuCOBOL. I have gotten VS Codium working with one code workspace and settings file. When I try to use Superbol Studio OSS extension with my source code I am getting errors. I am not sure it is on my side or not. Errors: Request: textDocument/hover failed Request: textDocument/semanticTokens/range failed Request: textDocument/foldingRange failed

  • Patrick McCavery Patrick McCavery posted a comment on discussion The Lounge

    Hi Guys. The more I think about AI, the more I worry. If it automated some low wage jobs or even a few high paying consulting jobs that might be ok but what worries me is when machine vision/hearing, robotics and AI converge. Will we still need dentists? Machines that can evaluate your teeth by sight and carrying out most procedures without human intervention seem quite possible in the not so distant future. I wonder how many jobs will actually be safe. BTW, if you are scanning stocks, look for the...

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) It is free to use software - forever Including periodic updates - at no charge I believe it surpasses any of the above IDE(s) in simplicity The kinetic debugger brings a real life pro debugger to GnuCOBOL EXEC SQL execution is transparent to compiling using IBM Community edition dB2 A preprocessor scans your program searching for 'EXEC SQL' statements If found the dB2 preprocessor and binder are automatically executed...

  • Mickey White Mickey White posted a comment on ticket #1145

    This ticket should be Closed. Hi Mickey, yes, fixed. I have released a new version (1.04.09) that includes the update for OUTREC. Sauro

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) It is free to use software - forever Including periodic updates - at no charge I believe it surpasses any of the above IDE(s) in simplicity The kinetic debugger brings a real life pro debugger to GnuCOBOL EXEC SQL execution is transparent to compiling using IBM Community edition dB2 A preprocessor scans your program searching for 'EXEC SQL' statements If found the dB2 preprocessor and binder are automatically executed...

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) It is free to use software - forever Including periodic updates - at no charge I believe it surpasses any of the above IDE(s) in simplicity The kinetic debugger brings a real life pro debugger to GnuCOBOL EXEC SQL execution is transparent to compiling using IBM Community edition dB2 A preprocessor scans your program searching for 'EXEC SQL' statements If found the dB2 preprocessor and binder are automatically executed...

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) I believe it surpasses any of the above IDE(s) in simplicity. The kinetic debugger bring a real life pro debugger to GnuCOBOL. Features and benefits: Your choice of source code editors The SPF editor is supplied and is the default It will not use the EXTFH I-O but rather BDB or whatever and "standard" GnuCOBOL I-O * No generation data groups, * No partitioned (PDS /PDSE) datasets * No native EBCDIC file processing,...

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) Features and benefits: Your choice of source code editors The SPF editor is supplied and is the default It will not use the EXTFH I-O but rather BDB or whatever and "standard" GnuCOBOL I-O * No generation data groups, * No partitioned (PDS /PDSE) datasets * No native EBCDIC file processing, * No VSAM (ISAM at your own risk) The editor selection is extensible via an environment variable or a setting in the WINIDE...

  • Ralph Linkletter Ralph Linkletter modified a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) Features and benefits: Your choice of source code editors The SPF editor is supplied and is the default It will not use the EXTFH I-O but rather BDB or whatever and "standard" GnuCOBOL I-O * No generation data groups, * No partitioned (PDS /PDSE) datasets * No native EBCDIC file processing, * No VSAM (ISAM at your own risk) The editor selection is extensible via an environment variable or a setting in the WINIDE...

  • Ralph Linkletter Ralph Linkletter posted a comment on discussion GnuCOBOL

    I have read with interest the IDE posts. I have finished the ultimate GnuCOBOL IDE :-) Features and benefits: Your choice of source code editor The SPF editor is supplied and is the default It will not use the EXTFH I-O but rather BDB or whatever and "standard" GnuCOBOL I-O * No generation data groups, * No partitioned (PDS /PDSE) datasets * No native EBCDIC file processing, * No VSAM (ISAM at your own risk) The editor selection is extensible via an environment variable or a setting in the WINIDE...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on ticket #1161

    I'm sorry to have to correct you, but your corrections are not valid. 1. Chapter 7.8.1.10 ACCEPT FROM EXCEPTION STATUS should be eliminated. Its presence in the PG has no reason to exist and therefore IMHO it creates confusion. 2. Furthermore, the Syntax Diagram at 7.8.1.10 ACCEPT FROM EXCEPTION STATUS is incorrect. It indicates exception-status-pic-9-4 as a variable when instead it should be PIC X (some exception-status are ALPHANUMERIC! See the code list on page 470). However, it does not need...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on ticket #1161

    I'm sorry to have to correct you, but your corrections are not valid. 1. Chapter 7.8.1.10 ACCEPT FROM EXCEPTION STATUS should be eliminated. Its presence in the PG has no reason to exist and therefore IMHO it creates confusion. 2. Furthermore, the Syntax Diagram at 7.8.1.10 ACCEPT FROM EXCEPTION STATUS is incorrect. It indicates exception-status-pic-9-4 as a variable when instead it should be PIC X (some exception-status are ALPHANUMERIC! See the code list on page 470). However, it does not need...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on ticket #1161

    I'm sorry to have to correct you, but your corrections are not valid. 1. Chapter 7.8.1.10 ACCEPT FROM EXCEPTION STATUS should be eliminated. Its presence in the PG has no reason to exist and therefore IMHO it creates confusion. 2. Furthermore, the Syntax Diagram at 7.8.1.10 ACCEPT FROM EXCEPTION STATUS is incorrect. It indicates exception-status-pic-9-4 as a variable when instead it should be PIC X (some exception-status are ALPHANUMERIC! See the code list on page 470). However, it does not need...

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5600] on Code

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified ticket #1162

    7.8.12.3 DISPLAY UPON ENVIRONMENT-NAME wrong title

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified ticket #1161

    7.8.1.10 ACCEPT FROM EXCEPTION STATUS is redundant

  • Vincent (Bryan) Coen Vincent (Bryan) Coen posted a comment on ticket #1160

    Opps , redone - may be the mv script command did not work and I failed to notice. Now when commiting I am getting errors regarding gnucobpg-a4.pdf but I think the first try must have worked but I did rerun the build scripts after a few minutes :(

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5599] on Code

    1160

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5598] on Code

    1160

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1162

    7.8.12.3 DISPLAY UPON ENVIRONMENT-NAME wrong title

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified ticket #1161

    7.8.1.10 ACCEPT FROM EXCEPTION STATUS is redundant

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1161

    7.8.1.10 ACCEPT FROM EXCEPTION STATUS is redundant

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on ticket #1160

    Sorry to bore you again, Vincent, but your update didn't go well. The PDF remains the same as before, without the new corrections.

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5597] on Code

    1160

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified ticket #1160

    INITIATE and TERMINATE diagrams

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1160

    INITIATE and TERMINATE diagrams

  • Vincent (Bryan) Coen Vincent (Bryan) Coen posted a comment on ticket #1158

    Found one instance and the other I replaced it allow looked correct on my copy of the pdf.

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5596] on Code

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on ticket #1158

    See attached screenshots. The error is always on same position The word "identified" isn't printed correctly. It is written identied instead of identified there is a strange fi character in the .texi file the error is highlighted in reverse.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on ticket #1158

    See attached screenshots. The error is always on same position The word "identified" isn't printed correctly. It is written identied instead of identified the error is highlighted in reverse.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on ticket #1158

    See attached screenshots. The error is always on same position The word "identified" isn't printed correctly. the error is highlighted in reverse.

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified a comment on ticket #1158

    Looking at the gnucobpg-a4.pdf I cannot find any such instances. Please specify EXACTLY where providing page (A4) number and line for all instances.

  • Vincent (Bryan) Coen Vincent (Bryan) Coen posted a comment on ticket #1158

    Looking at the gnucobpg-a4.pdf I cannot find any such instances. Please specify EXACTLY where proving page (A$) number and line for all instances.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified a comment on ticket #1158

    There's something strange. You may have noticed that your fixes didn't work. Both JSON PARSE and XML PARSE still have typo errors. The word "identified" isn't printed correctly.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on ticket #1158

    There's something strange. You may have noticed that your fixes didn't work. Both JSON PARSE and XML PARSE still have typo errors. The word "identified" isn't printed correctly.

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1159

    Negative values ​​for LINE and COLUMN

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5595] on Code

  • Eugenio Di Lorenzo Eugenio Di Lorenzo modified ticket #1158

    A couple of typos at JSON PARSE and XML PARSE

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1158

    A couple of typos at JSON PARSE and XML PARSE

  • Vincent (Bryan) Coen Vincent (Bryan) Coen committed [r5594] on Code

    Chgs SET + new for LOCALE - NYI)

  • Michael Del Solio Michael Del Solio posted a comment on discussion GnuCOBOL

    Hello Boris, Thank you very much. I will further investigate the problem(s) and will open a ticket on github. Probably this take some days for me but I will do so. Today I spent some hours to bring debugging run on my Ubuntu 24.04 with VS Code and a fresh self compiled GnuCOBOL from the 3.x-branch (SVN Rev 5593) but without success, too. In the generated tasks.json the SuperBOL macro definitions for debugging etc. are yellowed lined, so debug build will not add -g etc. to the cobc parameter list....

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified ticket #1157

    7.8.18 EXIT Syntax Diagram needs some updates

  • Vincent (Bryan) Coen Vincent (Bryan) Coen modified ticket #1156

    7.8.20 GENERATE wrong diagram

  • Eugenio Di Lorenzo Eugenio Di Lorenzo posted a comment on discussion Help getting started

    Wen the change is ready and released, in the Programmers Guide we will have to add a new Chapter in the PROCEDURE DIVISION called "SET LOCALE" with the following content. 7.8.44.13 SET LOCALE Format 1. SET LOCALE SET LOCALE { LC-ALL } TO { identifier-1 } { LC_COLLATE } { locale-name } { LC_CTYPE } { USER-DEFAULT } { LC_MESSAGES } { SYSTEM-DEFAULT } { LC_MONETARY } { LC_NUMERIC } { LC_TIME } { USER-DEFAULT } Use the set locale function to set, change, or query some or all of the current program locale...

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1157

    7.8.18 EXIT Syntax Diagram needs some updates

  • Eugenio Di Lorenzo Eugenio Di Lorenzo created ticket #1156

    7.8.20 GENERATE wrong diagram

  • Boris Eng Boris Eng posted a comment on discussion GnuCOBOL

    Hello Michael. We're investigating the problem with our team. We did some tests (VSCode extension with debugger and an external terminal to communicate with the program) and could not reproduce your bug. We suspect a problem specific to Windows. The best you can do would be to open a Git issue here with details about your problem and environment to help us reproduce the bug: https://github.com/OCamlPro/superbol-studio-oss/issues

  • Simon Sobisch Simon Sobisch committed [r5593] on Code

    test runner: perf record addition and quote-fix

  • Michael Del Solio Michael Del Solio modified a comment on discussion GnuCOBOL

    Sorry, you are fully right. SuperBOL-GnuCOBOL with VS Code with extension "SuperBOL Studio OSS" works out of the box on Windows . No need to add a special task.json or something else. I have a small hello.cob program for testing and it works so far but watch the value variable AGE is not possible. Maybe am oversee something. None of the variables is displayed on the left-hand window "Variables". Same under Ubuntu. I think I make something wrong with debugging with SuperBOL Studio in general. Please...

  • Michael Del Solio Michael Del Solio modified a comment on discussion GnuCOBOL

    Sorry, you are fully right. SuperBOL-GnuCOBOL with VS Code with extension "SuperBOL Studio OSS" works out of the box on Windows . No need to add a special task.json or something else. I have a small hello.cob program for testing and it works so far but watch the value variable AGE is not possible. Maybe am oversee something. Please have a look on the screenshot. Could someone help please? PS: Command which executed bei F5 is: cobc -x -ftraceall -g -fformat=auto -std=default -ext cpy -ext cbl -ext...

  • Michael Del Solio Michael Del Solio modified a comment on discussion GnuCOBOL

    Sorry, you are fully right. SuperBOL-GnuCOBOL with VS Code with extension "SuperBOL Studio OSS" works out of the box on Windows . No need to add a special task.json or something else. I have a small hello.cob program for testing and it works so far but watch the value variable AGE is not possible. Maybe am oversee something. Please have a look on the screenshot. Could someone help please? PS: Command which executed bei F5 is: cobc -x -ftraceall -g -fformat=auto -std=default -ext cpy -ext cbl -ext...

  • Michael Del Solio Michael Del Solio posted a comment on discussion GnuCOBOL

    Sorry, you are fully right. SuperBOL-GnuCOBOL with VS Code with extension "SuperBOL Studio OSS" works out of the box on Windows . No need to add a special task.json or something else. I have a small hello.cob program for testing and it works so far but watch the value variable AGE is not possible. Maybe am oversee something. Please have a look on the screenshot. Could someone help please?

  • Alain Reymond Alain Reymond posted a comment on discussion GnuCOBOL

    Yes of course, you can debug, put breakpoints, examine the content of variables, etc. The people of Superbol could explain it better than me!

  • Simon Sobisch Simon Sobisch posted a comment on discussion GnuCOBOL

    The superbol extension comes with gnucobol pattern matchers that you can use - no need to define one by yourself. Ideally it creates a task.json for you as well. Just curious: have you used it for debugging GnuCOBOL programs as well? That's kind of a big "selling point" after all.

  • Simon Sobisch Simon Sobisch posted a comment on discussion GnuCOBOL

    If you really want that with all files then you need a small gixsql_and_cobc.cmd which: * executes gixsql first * then execute cobc %* And point OCIDE to use that instead of cobc.exe. What I'd likely do is to associate sqb + pco to the SQL COBOL, store files with included EXEC SQL with a different extension (one of those), use the GnuCOBOL folder as esql folder and create a small wrapper esqloc.cmd which calls gixsql.exe. This way you have a nice integration even if OCIDE will never be updated to...

  • compiletaro compiletaro posted a comment on discussion GnuCOBOL

    It seems like you really like using the command line, Mickey. I’m still a beginner engineer, and I’ve never worked with a mainframe before. Gix-IDE does run, but it’s quite unstable in the end... When I try to register PostgreSQL in the DB Manager, the application crashes and I can’t complete the registration. Even when I run it in debug mode, the application still crashes. I haven’t tried the “IBM DB2 Community Edition” that you mentioned yet, but I’m quite interested in it.

  • compiletaro compiletaro posted a comment on discussion GnuCOBOL

    OpenCobolIDE: maybe you could configure the SuperBOL-distibution as GnuCOBOL-compiler inside OpenCobolIDE. Then GixSQL support should work in command line. Is that true!? If that’s really possible, I’d be so happy. I set the compile path to the GnuCOBOL that I installed from SuperBol, but… It seems that statements like EXEC SQL INCLUDE SQLCA END-EXEC. are causing syntax errors and not being recognized properly. Do I need to configure something separately for SQL COBOL as well?

  • Mickey White Mickey White modified a comment on discussion GnuCOBOL

    Oh yeah Geany is pretty cool. Here is a guy with a video on setting up gnucobol and some info on Geany: https://www.youtube.com/watch?v=XbRNDcGFrOM&list=PLdG1SnrYXH0EmUqQWol39Fd6VHcr-FbwS

  • Mickey White Mickey White posted a comment on discussion GnuCOBOL

    Oh yeah Geany is pretty cool. Here is a guy with a video on setting up gnucobol and sine info on Geany: https://www.youtube.com/watch?v=XbRNDcGFrOM&list=PLdG1SnrYXH0EmUqQWol39Fd6VHcr-FbwS

  • Michael Del Solio Michael Del Solio posted a comment on discussion GnuCOBOL

    In addition to Mickey good tips: On Windows I like using the GnuCOBOL-package from SuperBOL. In this distribution GixSQL is also included. There is also an addon from SuperBOL for VS Code and VS Codium which provides a very good support for GnuCOBOL under VS Code. Maybe you could create a own file task.json for compile and run out of VS Code. Showing errors in source code is also possible with a good task.json. This solution is a good choice in my opinion. But it needs a little work to adjust settings.json...

  • Mickey White Mickey White posted a comment on discussion GnuCOBOL

    On another note, have you tried IBM DB2 Community edition on Windows?

  • Mickey White Mickey White posted a comment on discussion GnuCOBOL

    I, for one, prefer the command line. Nothing fancy. If you like IDE and you have Gix-IDE working, I would say stay with Gix-IDE. There is straight VSCODIUM ( like VSCODE ). It may depend on your background. If you are from the Mainframe world you may like some of the ISPF like options available to Windows ( not an IDE but Editor ). I even use Notepad++ on Windows. And I use Linux mostly and so use the VIM command line ( there is a VIM for Windows ) . Do you use Linux or are you just focusing on ...

  • Chuck Haatvedt Chuck Haatvedt modified a comment on discussion GnuCOBOL

    Anshul, I don't think that will help with variables in your COBOL code as GNUCOBOL does not appear to have any compiler option to not optimize storage. Some of the other compiler vendors have an option like this. Also the default GNUCOBOL compiler behavior is to initialize all of working storage, So that would defeat an storage optimization of unused storage by the C compiler, so they are being optimized by the GNUCOBOL compiler. You can prove that by compiling your program with the "-save-temps"...

  • Anshul Agrawal Anshul Agrawal posted a comment on discussion GnuCOBOL

    Chuck, Using COBFLAGS = -O0 -A "-ffreestanding" my problem get resolved.

  • Chuck Haatvedt Chuck Haatvedt posted a comment on discussion GnuCOBOL

    Anshul, I don't think that will help with variables in your COBOL code as GNUCOBOL does not appear to have any compiler option to not optimize storage. Some of the other compiler vendors have an option like this. The option I gave you to include a C header file does work. Could you post the contents of your "compilation.h" header file ? Chuck Haatvedt

  • Anshul Agrawal Anshul Agrawal posted a comment on discussion GnuCOBOL

    Yes, I need to disable all the optimization using -O0. The unused variable which we are using just for versioning.

  • compiletaro compiletaro posted a comment on discussion GnuCOBOL

    Hey COBOL fans! I’ve got a question — what’s the best development environment for learning COBOL on your own? I’m using Windows 11. I used to work with OpenCobolIDE, but I found out that embedded SQL doesn’t work on Windows, which was a bit of a bummer. Right now, I’m using Gix-IDE — it’s a bit unstable, but embedded SQL works, and the GUI is pretty nice, so I think it might be good for beginners. What do you all think? I’d love to hear your opinions!

  • compiletaro compiletaro posted a comment on discussion GnuCOBOL

    I just remembered that I had installed MinGW during the initial setup, so I reinstalled it using MSVC instead. After that, I was able to successfully build and run the project. I apologize for the trouble I caused, and I truly appreciate everyone’s help in getting it to work!

  • Chuck Haatvedt Chuck Haatvedt modified a comment on discussion GnuCOBOL

    you need to add -A "-include your-header.h" cobc -x T1.cbl -A "-include compilation.h" -o T1.so give that a try... Chuck Haatvedt

  • Chuck Haatvedt Chuck Haatvedt posted a comment on discussion GnuCOBOL

    you need to add -A "-include your-header.h" cobc -x T1.cbl -A "-include compilation.h" -o T1.so give that a try... Chuck Haatvedt

  • Arnold Trembley Arnold Trembley posted a comment on discussion GnuCOBOL

    Do you still need to disable all optimizations with -O0? I finally found "freestanding" in the file generated by running "cobc -vvh > cobc-help.txt", and the definition only says "Do not assume that standard C libraries and "main" exist.' I don't see why that would affect the generation of COBOL working-storage section. I think that it should be a requirement for a compiler to include a diagnostic string in every program that specifies the exact name, version, build date & time of the compiler. I...

  • compiletaro compiletaro posted a comment on discussion GnuCOBOL

    Hi,! Michael Del Solio, It seems that the PostgreSQL version doesn’t really matter… I tried changing the pg_hba.conf settings! Mickey White, Thank you for the sample code. When I followed the README instructions in the command prompt, I was able to successfully verify the SQL connection :-). Now, I just need to make sure that building and running from GixIDE returns the correct results…

  • Anshul Agrawal Anshul Agrawal posted a comment on discussion GnuCOBOL

    Using below COBFLAGS compiler setting I am able to see the full string in GNU 3.2. COBFLAGS = -O0 -A "-ffreestanding" thanks, Anshul.

  • Mickey White Mickey White posted a comment on discussion The Lounge

    The Discovery supercomputer at Oak Ridge National Laboratory, to be built by HPE and AMD will push beyond exascale and power new innovation, scientific discovery and insights. This system will combine HPC, AI and quantum computing to deliver impactful breakthroughs in precision medicine, cancer research, materials science, nuclear fusion, aerospace and more. https://www.youtube.com/watch?v=jBfvXIKImGw

  • Simon Sobisch Simon Sobisch posted a comment on discussion Help getting started

    not yet, I'll post when I'm finished (made good progress today, especially adding the completely new USER-DEFAULT locale)

1 >