Talk:COBOL

From Wikiversity
Jump to navigation Jump to search

Hello World![edit source]

I adapted the source code for "Hello World!" from the Wikiversity Hello, world! course to create a new section. It will be good if someone can provide instructions for building and executing this code. A brief survey of generally available COBOL build environments, including freeware, (e.g. GnuCOBOL) popular, and commercial products will be good. Provide step-by-step instructions for obtaining and installing the build environment along with build and execute instructions for at least one of these. The goal of this step is to allow someone to run the code based on the instructions provided. Thanks! --Lbeaumont (discusscontribs) 14:49, 13 April 2020 (UTC)[reply]

@Lbeaumont: See Programming Fundamentals/Introduction/COBOL. There is no need for any setup. Just use one of the available online IDEs. Programming Fundamentals includes COBOL examples through Lesson 5. Arrays, strings, and files can be added if there's any interest. -- Dave Braunschweig (discusscontribs) 17:28, 13 April 2020 (UTC)[reply]
Thanks that is helpful! I added a section linking to each of those lessons. --Lbeaumont (discusscontribs) 19:48, 13 April 2020 (UTC)[reply]
@Dave Braunschweig: If you get a chance to extend the arrays, strings, and files lessons to include COBOL example programs that will be helpful. Please let me know and I will add COBOL program notes and assignments. Thanks! --Lbeaumont (discusscontribs) 12:03, 17 April 2020 (UTC)[reply]

@Lbeaumont: I've created examples for COBOL arrays and strings. File processing doesn't seem to be possible in the available online test environments. Paiza.io is the only one that supports additional files in the user interface, and a couple of quick tests to access those files were not successful. I may try and come back to this later, but COBOL file processing is system-specific. Examples would not necessarily carry over to other implementations.

Separately, please note that Programming Fundamentals is a 200+ subpage learning project specifically designed to demonstrate identical programming concepts in a wide variety of programming languages. The assignments you've added to the COBOL subpages don't match any of the 200 other subpages. When you get a chance, please move that content to this learning project instead.

Thanks! -- Dave Braunschweig (discusscontribs) 16:42, 18 April 2020 (UTC)[reply]

Done Thanks!--Lbeaumont (discusscontribs) 22:59, 18 April 2020 (UTC)[reply]

Language References[edit source]

Several language references are available at: https://open-cobol.sourceforge.io/

These can be used as raw references, or to guide step-by-step lessons --Lbeaumont (discusscontribs) 19:33, 13 April 2020 (UTC)[reply]

Hunting and Gathering[edit source]

On-line resources for learning and practicing COBOL programming skills are abundant. Several such resources are collected here. They can be used by students for self-study as this Wikiversity course evolves, and they can be used as inspiration and references by Wikiversity editors to continue to extend and improve this course. Students and editors are encouraged to add useful resources to this list.

--Lbeaumont (discusscontribs) 14:25, 19 April 2020 (UTC)[reply]