COBOL

COBOL

COBOL

COBOL is responsible for the efficient, reliable, secure, and unseen day-to-day operations of the world's economy.

 View Only
Expand all | Collapse all

How do I run a simple COBOL program in IBM Developer for z Systems?

  • 1.  How do I run a simple COBOL program in IBM Developer for z Systems?

    Posted Tue June 30, 2020 10:06 PM
    Disclaimer: This post is migrated from IBM Developer Answers that is no longer in use. Its original author is  pbirkhol, posted on Jun 18, 2019.

    I am practicing COBOL for my job, I would like to just execute simple programs with the run button but there is no COBOL perspective or run configuration (or at least none listed as COBOL). I do not need to connect to anything as I am just practicing syntax and formatting. Could someone help point me to this info or give directions?


    ----------------------------------------------------------
    Question asked by pbirkhol on Jun 18, 2019
    ---------------------------------------------------------


  • 2.  RE: How do I run a simple COBOL program in IBM Developer for z Systems?

    Posted Tue June 30, 2020 10:10 PM

    IBM Developer for z Systems (IDz) does not provide a Run environment nor a compiler.

    IDz does provide a COBOL editor that parses the code to check for syntax errors, but it is not as robust as a COBOL compiler.

    The editor will also provide assistance for syntax of a command (CTRL+SPACE).

    In order to execute a COBOL program you will need to connect to a system that provides the run environment.

    IDz does provide a template to get you started on a COBOL program: https://www.ibm.com/support/knowledgecenter/en/SSQ2R2_14.1.0/com.ibm.etools.zide.cmn.doc/topics/tza100.html

    There are some tutorials: https://www.ibm.com/support/knowledgecenter/en/SSQ2R2_14.1.0/com.ibm.wsentdev.doc/topics/c_node_tutorials.html

    And other Sample code: https://www.ibm.com/support/knowledgecenter/en/SSQ2R2_14.1.0/com.ibm.wsentdev.doc/topics/c_node_samples.html


    ----------------------------------------------------------
    Answered by  pbirkhol on Jul 01, 2019
    -----------------------------------------------------------



    ------------------------------
    Meng Chai
    ------------------------------