Comments (30)
Hi mates, a good place to share our experience learning COBOL.
- Questions and Help
We are using Slack for system access questions and password issues:
Click this link https://openmainframeproject.slack.com/ to add yourself to the Open Mainframe Project Slack workspace. Within this workspace, add the cobol-programming-course channel.
from cobol-programming-course.
There is nothing superfluous in it.
from cobol-programming-course.
There is nothing superfluous in it.
WOW
Actually I am Android developer using Kotlin
I tried to learn cobol for fun after hearing that USA employment registration server overload
But it seems to be very verbose lot of typting .. that's why I am asking ?
This is my first COBOL program ::
IDENTIFICATION DIVISION.
PROGRAM-ID. VERBS.
DATA DIVISION.
WORKING-STORAGE SECTION.
*> numbers we will perform operations on
*> with verbs
01 YOB PIC 9(4) VALUE 1993. *> YOB = 1993;
01 CUR PIC 9(4) VALUE 2020. *> CUR = 2020;
01 RES-AGE PIC 9(2). *> int RES-AGE;
01 RES-QOT PIC 9(9).
01 RES-REM PIC 9(9).
01 RES-FCNT PIC 9(9).
01 RES-LCNT PIC 9(9).
01 RES-TOTCNT PIC 9(9).
01 FNAME PIC A(15) VALUE 'RAGESH'.
01 LNAME PIC A(15) VALUE 'ANTONY'.
PROCEDURE DIVISION.
COMPUTE RES-AGE = (CUR - YOB).
INSPECT FNAME TALLYING RES-FCNT FOR CHARACTERS.
INSPECT LNAME TALLYING RES-LCNT FOR CHARACTERS.
COMPUTE RES-TOTCNT = (RES-FCNT + RES-LCNT).
DIVIDE YOB BY RES-TOTCNT GIVING RES-QOT REMAINDER RES-REM.
*> TO check Year of birth divisible by name string count
DISPLAY "NAME: "FNAME
DISPLAY "Born In:"YOB
DISPLAY "Current Year:"CUR
DISPLAY "AGE:"RES-AGE
DISPLAY "TOT:"RES-TOTCNT
DISPLAY "QOT:"RES-QOT
DISPLAY "REM:"RES-REM
IF RES-REM = 0
DISPLAY "Your numerology is correct"
ELSE
DISPLAY "Your numerology is wrong"
END-IF.
STOP RUN.
from cobol-programming-course.
@RageshAntony And, did you run it? Have you read or followed the class materials? The class materials explained that even non-programmers can follow the logic (of a working program), like IT auditors. Auditing programs is a necessary function of a financial audit perform by a large accounting firm of a publicly traded company to certify the accuracy of the company’s financial statements. The Cobol language was designed for transactional business data processing. It was never intended to be used for Android development, for example. If you need scientific functions, Cobol is probably not the best choice of language. However, Cobol has many built-in functions, or it can call another program, written in another language, like Fortran (a scientific language which was used to make the precise calculations necessary to send astronauts to the moon), or it can call numerous functions/subroutines in IBM’s Language Environment (LE). These same LE common subroutines can be called from many of IBM’s supported languages. So, keep an open mind, follow the class materials and remember, different languages are best suited for the types of problems they were originally designed to solve. Enjoy the wonderful world of Cobol!
from cobol-programming-course.
@RageshAntony Here is a major difference:
- gnuCOBOL is open source. Is it reliable? Is it certified by any one or entity? Are there any unknown or unreported compiler errors lurking about?
(Enterprise) IBM COBOL is a commercial paid product offering. The full faith of the IBM Corporation stands behind it, and a version of IBM COBOL has been offered/licensed for use for at least 50+ years! Large institutions (e.g. publicly traded companies), especially where large monetary/financial transactions are involved, rely on the maturity of IBM COBOL to be free of compiler errors, that could be costly if undetected for any period of time. IBM does not publish the compiler source code, so there is no way for a customer’s programmer (of a licensee) to change the compiler, for any reason. This is a definite advantage, in the scope of a financial audit of a publicly traded company performed by a large accounting firm, performing such an audit to ensure the accuracy of a company’s financial statements. - Enterprise IBM COBOL is designed to run in an IBM mainframe environment, with the I/O custom to that environment.
I believe gnuCOBOL is designed to run in non-IBM controlled environments, so the I/O will be different. Other than I/O, the language capabilities and syntax should be similar.
Hope that helped!
from cobol-programming-course.
@RageshAntony IBM COBOL is a PAID, licensed product offering from IBM. It is probably not designed to run on desktop Linux, plus legally, you would need to license it from IBM. They do not give it away for free, and do not publish the source code.
from cobol-programming-course.
@RageshAntony You posted the same thing, 3 times. You might consider deleting the last 2. As far as marketability, the more overall software experience you have in different languages/operating systems (Windows, Unix, Linux, z/OS) in addition to Cobol, should be a plus for anyone looking to get hired. Start here: https://forms.business.nj.gov/tech/
from cobol-programming-course.
just wake up to hear the news, so happy.
from cobol-programming-course.
still stuck on chapter 4.6, connection does not work. Tried everything, still not passed. So frustrated
from cobol-programming-course.
finally passed, thanks for your help @scott Cosel. Any guys need help, please go to Slack, then message me if I noticed.
from cobol-programming-course.
How did you connect?
from cobol-programming-course.
Register here: http://ibm.biz/cobollabs
And follow pdf, in chapter 4.6 you will connect to the z/OS with credentials you received in mail, after registration. I haven't got ip addresses in mail, you should get it, just in case here you go:
IP address for VSCode extension: https://192.86.32.250:10443
IP address for TN3270: 192.86.32.250 Port 623
IP address for IDz: 192.86.32.250 Port 4035
from cobol-programming-course.
How did you connect?
Do u have your own ID and Password? then follow the PDF, I 2 troubles. I have picture uploaded, which one you have?
from cobol-programming-course.
Yes, I have ID and Password. But I don't understand how enter to Sign in to Open Mainframe Project
from cobol-programming-course.
Did you follow the course instructions? https://github.com/openmainframeproject/cobol-programming-course/blob/master/COBOL%20Programming%20with%20VSCode.pdf Page 37, 4.6 Lab 1 discusses connecting to the mainframe. Wherever you see Z99998, be sure to use your own id, Z80xxx, not Z99998 as shown as an example in the guide.
from cobol-programming-course.
I understand it. I can't do the following from the instructions in a letter from IBM; "We are using Slack for system access questions and password issues:
Click this link to add yourself to the Open Mainframe Project Slack workspace. Within this workspace, add the cobol-programming-course channel."
from cobol-programming-course.
I can't add myself to the Open Mainframe Project Slack workspace. Maybe someone has a video, how to do it correctly?
from cobol-programming-course.
@cobol10 I went around and around, but it eventually worked. I don't remember now what combination worked. Be sure to use "openmainframeproject" on https://slack.com/signin or whatever URL it takes you to.
from cobol-programming-course.
Why COBOL based transactions processing servers not yet updated to modern languages like R , Julia etc ?
from cobol-programming-course.
What for? COBOL does this better than any other language.
from cobol-programming-course.
What for? COBOL does this better than any other language.
How ? It's verbose first
Does it support Functional programming like lambdas , High order functions etc ?
from cobol-programming-course.
For transaction processing, it is an ideal programming language.
from cobol-programming-course.
@RageshAntony And, did you run it? Have you read or followed the class materials? The class materials explained that even non-programmers can follow the logic (of a working program), like IT auditors. Auditing programs is a necessary function of a financial audit perform by a large accounting firm of a publicly traded company to certify the accuracy of the company’s financial statements. The Cobol language was designed for transactional business data processing. It was never intended to be used for Android development, for example. If you need scientific functions, Cobol is probably not the best choice of language. However, Cobol has many built-in functions, or it can call another program, written in another language, like Fortran (a scientific language which was used to make the precise calculations necessary to send astronauts to the moon), or it can call numerous functions/subroutines in IBM’s Language Environment (LE). These same LE common subroutines can be called from many of IBM’s supported languages. So, keep an open mind, follow the class materials and remember, different languages are best suited for the types of problems they were originally designed to solve. Enjoy the wonderful world of Cobol!
Yeah I executed it
You cleared bu doubt . I thought cobol is a Data Science language like R , but transaction processing is good in cobol ..
OK .
One question ? what is the difference between gnuCOBOL and IBM COBOL ?
from cobol-programming-course.
@RageshAntony Here is a major difference:
- gnuCOBOL is open source. Is it reliable? Is it certified by any one or entity? Are there any unknown or unreported compiler errors lurking about?
(Enterprise) IBM COBOL is a commercial paid product offering. The full faith of the IBM Corporation stands behind it, and a version of IBM COBOL has been offered/licensed for use for at least 50+ years! Large institutions (e.g. publicly traded companies), especially where large monetary/financial transactions are involved, rely on the maturity of IBM COBOL to be free of compiler errors, that could be costly if undetected for any period of time. IBM does not publish the compiler source code, so there is no way for a customer’s programmer (of a licensee) to change the compiler, for any reason. This is a definite advantage, in the scope of a financial audit of a publicly traded company performed by a large accounting firm, performing such an audit to ensure the accuracy of a company’s financial statements.- Enterprise IBM COBOL is designed to run in an IBM mainframe environment, with the I/O custom to that environment.
I believe gnuCOBOL is designed to run in non-IBM controlled environments, so the I/O will be different. Other than I/O, the language capabilities and syntax should be similar.Hope that helped!
And ... Is it possible to run IBM COBOL in desktop linux OS ? Are only mainframe is needed ?
from cobol-programming-course.
@RageshAntony IBM COBOL is a PAID, licensed product offering from IBM. It is probably not designed to run on desktop Linux, plus legally, you would need to license it from IBM. They do not give it away for free, and do not publish the source code.
thank you . you cleared lot of doubts .
from cobol-programming-course.
We are using Slack for system access questions and password issues:
Click this link https://openmainframeproject.slack.com/ to add yourself to the Open Mainframe Project Slack workspace. Within this workspace, add the cobol-programming-course channel.
This link worked for me to get added to the workspace: Slack workspace signup
from cobol-programming-course.
@RageshAntony And, did you run it? Have you read or followed the class materials? The class materials explained that even non-programmers can follow the logic (of a working program), like IT auditors. Auditing programs is a necessary function of a financial audit perform by a large accounting firm of a publicly traded company to certify the accuracy of the company’s financial statements. The Cobol language was designed for transactional business data processing. It was never intended to be used for Android development, for example. If you need scientific functions, Cobol is probably not the best choice of language. However, Cobol has many built-in functions, or it can call another program, written in another language, like Fortran (a scientific language which was used to make the precise calculations necessary to send astronauts to the moon), or it can call numerous functions/subroutines in IBM’s Language Environment (LE). These same LE common subroutines can be called from many of IBM’s supported languages. So, keep an open mind, follow the class materials and remember, different languages are best suited for the types of problems they were originally designed to solve. Enjoy the wonderful world of Cobol!
If a Java/.Net/NodeJS .... developer who don't know anything about COBOL , Mainframes and Transaction processing ...
Starts to learn all the above 3 , Do he able to get JOBs with future security and decent salary ?
from cobol-programming-course.
@RageshAntony IBM COBOL is a PAID, licensed product offering from IBM. It is probably not designed to run on desktop Linux, plus legally, you would need to license it from IBM. They do not give it away for free, and do not publish the source code.
In the Course document , it seems to be the COBOL program will be submitted to a z/OS system and JOB output will be returned ?
The course also states that it deals with Enterprise COBOL and as you said it runs only in mainframe .
That means do I need a mainframe to learn the course !!!!.
Please assist me
(I executed my above code using gnuCOBOL only)
from cobol-programming-course.
@RageshAntony - You can get free credentials to run your program on a mainframe. My suggestion is you follow these instructions, STEP by STEP: #53
from cobol-programming-course.
Awesome to hear of this early success, closing as no action is required here.
from cobol-programming-course.
Related Issues (20)
- Improvement: New Features of Enterprise COBOL v6.3
- Descargar Enterprise COBOL v6.3 HOT 1
- Website HOT 7
- Getting started Paragraph 3.2 Basic editing: line numbers are off HOT 1
- Readable and maintainable COBOL code
- Update course with survey result from COBOL WG HOT 6
- Unable to join Slack workspace. HOT 2
- Error in binary-ranges-3.png (Length and Range at S9(9) is wrong HOT 2
- Learning COBOL Programming with VSCode - Restricted acces to #openmainframeproject channel HOT 2
- No Labs or samples provided HOT 1
- Unable to join Slack - Account deactivated HOT 1
- Another COBOL Programming exercise for VSAM indexed file with alternate indices HOT 1
- COBOL compilation output file names are wrongly displayed.
- screen images in documentation use too much ink HOT 1
- API Output for COVID-19 COBOL Challenge is Offline
- Optimization possible in CBL0106.cbl
- lab or exercise with cobol-java-calling HOT 1
- Update content / screenshots for Zowe v3 Explorer
- Addition of content related to CI/CD by using Jenkins
- Create a static site for the book using Docusaurus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobol-programming-course.