Selecting your compiler language

To select your compiler language:

  • From the Primary Option Menu panel, select 0 Settings, then 5 Compiler, and 1 LANG.
  • Specify your choice by entering the option number:
    1. COBOL
    Use the COBOL compiler, regardless of the language used in your copybook.
    2. PL/I
    Use the PL/I compiler, regardless of the language used in your copybook.
    3. Auto detect
    Note: Applies to COBOL and PL/I only. To instruct Z Data Tools to use the HLASM compiler, yuo must select 4. HLASM.

    Allow Z Data Tools to detect whether the language used in you copybook is COBOL or PL/I and select the appropriate compiler.

    If the copybook does not contain any keywords that Z Data Tools can use to determine the language, then Z Data Tools uses the COBOL compiler.

    If the compiler creates ADATA and produces a return code of less than or equal to the Maximum Return Code specified in the compiler processing options, then Z Data Tools creates the template without any prompting.

    If the compiler creates ADATA but produces a return code greater than the specified maximum, then Z Data Tools displays a pop-up menu where you can choose from various options, including using the other compiler.

    If no ADATA was created, then Z Data Tools uses the other compiler without prompting.

    If the other compiler creates ADATA but the return code is greater than the specified, then Z Data Tools displays the pop-up menu.

    If the other compiler does not create ADATA, then Z Data Tools retries the first compiler, and again displays the pop-up menu.

    4. HLASM
    Use the HLASM compiler.

Related topics