An open API service indexing awesome lists of open source software.

https://github.com/younghakim7/cobol_lang


https://github.com/younghakim7/cobol_lang

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        



# Punch Cards 천공카드
https://opensource.com/article/17/8/what-about-cobol
- 1959년도에는 하드드라이브가 비싼 시절이라. 천공카드에 기록해서 저장했다(Punch Cards에 기록해서) 그걸 넣어서 작동시켰다. 대단.



![cobol_punch_cards](https://github.com/YoungHaKim7/Cpp_Training/assets/67513038/bd380fee-0312-44dd-a9b8-cf5b6342c793)

# COBOL Coding Form(IBM)
https://stackoverflow.blog/2020/04/20/brush-up-your-cobol-why-is-a-60-year-old-language-suddenly-in-demand/
![cobol_coding_form](https://github.com/YoungHaKim7/Cpp_Training/assets/67513038/04ec92c9-29e9-4725-9210-ead97c0b7853)


# What about cobol

- The problem turned out to be the period at the end of 19. 버그찾았는데 19 라인? 으로 밝혀짐??
- https://opensource.com/article/17/8/what-about-cobol

- Why COBOL Programming Language Hasn't Disappeared | Built In
- https://stackoverflow.blog/2020/04/20/brush-up-your-cobol-why-is-a-60-year-old-language-suddenly-in-demand/
- 코볼Cobol을 배워야하는 이유는 레거시 코드를 100% 이해해야 현대언어로 Migration이 가능하기 때문 ㅜㅜ 쉬운게 없구만 코볼 언어 왜케 많아 ㅜㅜ
- https://increment.com/programming-languages/cobol-all-the-way-down/

# GnuCOBOL

- Linux Install
- ```sudo apt install gnucobol4```

```
sudo apt install gnucobol4

cobc -V

cobc (GnuCOBOL) 4.0-early-dev.0
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built Sep 14 2021 19:23:38
Packaged Jun 06 2020 20:56:36 UTC
C version "11.2.0"

```

# Debugging (VSCODE)

https://www.microfocus.com/documentation/vscode/cobol/GUID-D5CD24DB-2A65-4D65-8956-4B552302DA3F.html

- Debug COBOL files with Visual Studio Code
- https://github.com/RechInformatica/rech-cobol-debugger

- code4z
- https://marketplace.visualstudio.com/items?itemName=broadcomMFD.code4z-extension-pack

- Code4z - Debugger for Mainframe
- https://youtu.be/f6ZxwALSb_Y?si=dLk5fFB0DOc7x2e0


- A free/libre COBOL compiler
- https://gnucobol.sourceforge.io/
- 윈도우에 설치하는 방법 bash열어서 설치해야 하는듯 gcc 다 설치 되어있어야함.
- http://gotocobol.com.br/teoria/criando-um-ambiente-de-desenvolvimento-cobol-no-macos/passo-1-instalar-o-gnucobol/
- GCC(MinGW-w64)
- https://www.mingw-w64.org/downloads/
- 난 이걸로 설치함.(WindowsOS) https://www.msys2.org/
- MinGW-w64 13.2.0(Windows choco)

```
choco install mingw

```
- GnuCobol Guides
- https://gnucobol.sourceforge.io/guides.html

# compile Cobol online

https://www.tutorialspoint.com/compile_cobol_online.php

# sample code(Cobol)

- Columns 1-6
- line numbers
- Column 7
- comment/continue
- Columns 8-11
- divisions, sections, and paragraphs
- Columns 12-72
- COBOL code

```cbl
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. hello_world.
000300 PROCEDURE DIVISION.
000400 DISPLAY "Hello world Cobol Language"
000500 DATA DIVISION.
000600 WORKING-STORAGE SECTION.
000700 01 WS-NAME PIC A(6) VALUE IS 'Jeff'
000800
000900 PROCEDURE DIVISION.
001000 DISPLAY "Hello: "WS-NAME.
001100
001200 STOP RUN.
001300* I am a comment
```

출처 : COBOL in 100 seconds https://youtu.be/7d7-etf-wNI?si=5ENrTwuCNjH5TpOn

# Using COBOL to make a video game! | Context Free

https://youtu.be/8-kazxQBolM?si=gd03enIgQwuUk0uS

- gcc로 컴파일 처음에 하기 때문에 (gcc 필수 설치)

```
$ cobc -x -o hello_col hello_col.cbl

$ ./hello_col
```



# Cobol Tutorial

https://curlie.org/Computers/Programming/Languages/Cobol/


## Cobol Language Tutorial(Derek Banas)

[COBOL Tutorial : Learn COBOL in One Video\_\_(
Derek Banas
)](https://youtu.be/TBs7HXI76yU)



## COBOL Course - Programming with VSCode\_\_freeCodeCamp.org

[COBOL Course - Programming with VSCode](https://youtu.be/RdMAEdGvtLA)



# 모든 언어를 무료로 공부할 수 있다.

출처 : stackoverflow.com 알게 된 링크

역시 갓 스택 오버플로우

https://stackoverflow.com/questions/38683512/why-git-shallow-clone-can-have-more-commits-than-depth/38683775#38683775

- Github 주소

https://github.com/EbookFoundation/free-programming-books

- EbookFoundation

https://ebookfoundation.github.io/free-programming-books/