COBOL

COBOL

COBOL

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

 View Only
  • 1.  IDZ split line for COBOL

    Posted Mon June 29, 2020 02:33 AM

    Disclaimer: This post is migrated from IBM Developer Answers that is no longer in use. Its original author is pikarek, posted on Mar 27, 2019.




    The split line via enter does not work correct on mij pc. when hitting enter with the cursor just before 'THRU' :

    PERFORM W12-VUL-TTW THRU W12-EXIT

    i get the following :

    PERFORM W12-VUL-TTW

    THRU W12-EXIT

    with the cursor just below the 'P' of PERFORM. The cursor is on the correct place, but i expect the code to follow and also start at the cursor position. Any idea how I can fix this?


    -------------------------------------------------------
    Question asked by pikarek on Mar 27, 2019
    --------------------------------------------------------



  • 2.  RE: IDZ split line for COBOL

    Posted Mon June 29, 2020 02:38 AM
    Edited by Meng Chai Mon June 29, 2020 02:39 AM

    The LPEX editor default behavior is: splitLine The splitLine action splits the current line at the current cursor position and moves the cursor to the beginning of the new line. If

    the actionRepeat parameter is positive, the action is repeated actionRepeat times. https://www.ibm.com/support/knowledgecenter/SSQ2R2_14.1.0/com.ibm.lpex.doc.user
    /ref/rlsdfact.htm?cp=SS7EY3_3.1.0

    The z Systems LPEX editor preference is set:

    Split (Alt+S): Select the action that occurs when you press the Alt+S key combination. Default: The default LPEX behavior. The action depends on the LPEX profile that is
    being used. COBOL Split Line: The split line action is aware of COBOL syntax.

    It can be changed in the Preferences > LPEX Editor > z Systems LPEX editor > COBOL Parser.

    https://www.ibm.com/support/knowledgecenter/SSQ2R2_14.1.0/com.ibm.etools.rdz.language.editors.doc/topics/tzdcobpars.html?cp=SS7EY3_3.1.0

    ----------------------------------------------------
    Replied by  candice on Apr 12, 2019
    ----------------------------------------------------