Skip to main content
Question

VS Code Assistance

  • April 2, 2026
  • 3 replies
  • 17 views

rgtDev4URData

Hi All, hope all is well.

Well, I never thought I would get back to COBOL, but during the watching of a video about AI and MS Access, my colleague briefly mentioned COBOL.   I thought cool, I will check COBOL out, since it has been a while since I developed with the language.  And I am glad I did!   Doing a Google Search on COBOL, I came across Rocket Software’s COBOL infographic.   Wow!  I was blown a way that COBOL was so widely used to this day.   Well, it has been decades since I programmed with COBOL.   My first job, was on a OS/390 Mainframe (nicknamed “Old Charlie”) during the Y2K effort.  Another job had me using MicroFocus COBOL for a Web Patient Application.

Now today (decades later), I am getting back into COBOL and taking the first certification offered by Rocket Software..  I am almost done.  

 

A few questions for some assistance.

  1. VS Code - How do you setup tasks to compile programs and related sub programs..  Yeah, I could do each one manually, but it would be more efficient to execute a task to compile each one.
  2. VS Code - Instead of using Terminal, I would like send the output to the Rocket Window.    It was working before, but now running programs sends the output to the terminal which sometimes overlaps.  I already tried to rename the runnw.exe to copy then the run.exe to runnw.exe.
  3. Is there handy chart that shows differences between Rocket COBOL products vs IBM?   I know that some features with Rocket COBOL are not available to COBOL-85 and IBM OS/Z.   Would be really cool if there was one.

I am also excited to find out that Db2 is available for free.  I am Freelance Software Engineer is this highly beneficial to me.

Also looking forward to integrate C# .NET with Rocket Visual COBOL.

 

Well, that is all GOD Bless everyone.  GO COBOL!

Richard

 

 

 

3 replies

Gael Wilson
Forum|alt.badge.img+1
  • Rocketeer
  • April 3, 2026

Re: 2

If you are referring to debugging, the “console” option in launch.json determines whether the terminal, a console or the text window are used. To use the text window, which is what I think you mean, it will be

“console”: “externalTerminal”


Chris Glazier
Forum|alt.badge.img+3

Welcome back to COBOL!!

Re:1

There is a section in the documentation on how to set up tasks to compile your programs.
Compiling

If you have project files from Visual Studio or Eclipse you can have these built automatically. If you do not have project files, then you can create a Windows .bat file that executes the commands to build your programs and integrate that into a task that you can run from VSCode.

Look at the section Integrate Build Scripts with Tasks

Re:3

There really isn’t a single document that show the differences between different dialects but in the COBOL language reference documentation the various syntax elements have bubbles next to them saying Rocket if that element is a Rocket extension or if it is supported in a particular dialect.

There is a compiler directive called DIALECT that you can set that cause the compiler to more closely adhere to features available only in that dialect, and flag extensions as errors.  See DIALECT

 


rgtDev4URData
  • Author
  • New Participant
  • April 3, 2026

Thanks Chris and Gael for taking the time to respond with help.   Very much appreciated.   I will definitely give them a try.

GO COBOL!

God Bless

Richard