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 File Manager to use the HLASM compiler, yuo must select 4. HLASM.

    Allow File Manager 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 File Manager can use to determine the language, then File Manager 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 File Manager creates the template without any prompting.

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

    If no ADATA was created, then File Manager uses the other compiler without prompting.

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

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

    4. HLASM
    Use the HLASM compiler.

Related topics