Giter VIP home page Giter VIP logo

Comments (30)

MrGmaw avatar MrGmaw commented on July 29, 2024 2

Hi mates, a good place to share our experience learning COBOL.

  1. 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.

cobol10 avatar cobol10 commented on July 29, 2024 2

There is nothing superfluous in it.

from cobol-programming-course.

RageshAntony avatar RageshAntony commented on July 29, 2024 1

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.

sccosel avatar sccosel commented on July 29, 2024 1

@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.

sccosel avatar sccosel commented on July 29, 2024 1

@RageshAntony Here is a major difference:

  1. 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.
  2. 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.

sccosel avatar sccosel commented on July 29, 2024 1

@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.

sccosel avatar sccosel commented on July 29, 2024 1

@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.

Dlthomass avatar Dlthomass commented on July 29, 2024

just wake up to hear the news, so happy.

from cobol-programming-course.

Dlthomass avatar Dlthomass commented on July 29, 2024

still stuck on chapter 4.6, connection does not work. Tried everything, still not passed. So frustrated

from cobol-programming-course.

Dlthomass avatar Dlthomass commented on July 29, 2024

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.

cobol10 avatar cobol10 commented on July 29, 2024

How did you connect?

from cobol-programming-course.

negovan13 avatar negovan13 commented on July 29, 2024

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.

Dlthomass avatar Dlthomass commented on July 29, 2024

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.

cobol10 avatar cobol10 commented on July 29, 2024

Yes, I have ID and Password. But I don't understand how enter to Sign in to Open Mainframe Project

from cobol-programming-course.

sccosel avatar sccosel commented on July 29, 2024

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.

cobol10 avatar cobol10 commented on July 29, 2024

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.

cobol10 avatar cobol10 commented on July 29, 2024

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.

sccosel avatar sccosel commented on July 29, 2024

@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.

RageshAntony avatar RageshAntony commented on July 29, 2024

Why COBOL based transactions processing servers not yet updated to modern languages like R , Julia etc ?

from cobol-programming-course.

cobol10 avatar cobol10 commented on July 29, 2024

What for? COBOL does this better than any other language.

from cobol-programming-course.

RageshAntony avatar RageshAntony commented on July 29, 2024

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.

cobol10 avatar cobol10 commented on July 29, 2024

For transaction processing, it is an ideal programming language.

from cobol-programming-course.

RageshAntony avatar RageshAntony commented on July 29, 2024

@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 avatar RageshAntony commented on July 29, 2024

@RageshAntony Here is a major difference:

  1. 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.
  2. 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 avatar RageshAntony commented on July 29, 2024

@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.

comps3 avatar comps3 commented on July 29, 2024

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 avatar RageshAntony commented on July 29, 2024

@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 avatar RageshAntony commented on July 29, 2024

@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.

sccosel avatar sccosel commented on July 29, 2024

@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.

MikeBauerCA avatar MikeBauerCA commented on July 29, 2024

Awesome to hear of this early success, closing as no action is required here.

from cobol-programming-course.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.