Compiler Language Selection panel

The Compiler Language Selection panel is displayed when option 1 is selected from the Set Language and compiler specifications panel.

The panel allows you to specify the compiler that FM/IMS uses to build templates. You can also specify whether you want FM/IMS to use the compiler options in the template or the compiler options specified on the compiler options panel when it updates the template.

Enter the EXIT command (F3), to exit the panel saving the changes you have made.

Enter the CANCEL command (F12), to exit the panel without saving the changes you have made.

Panel and field definitions

Figure 1. Compiler Language Selection panel
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                   Compiler Language Selection

 Language Selection:
    Specify Default Compiler
    1  1. COBOL          Use the COBOL compiler
       2. PL/I           Use the PL/I compiler
       3. Auto detect    Determine which compiler to use
       4. HLASM          Use the HLASM compiler

 Processing Options:
    Enter "/" to select option
      Override compiler options for template update
    / Preserve copybook library
      Show copybook name with record type field name
      Suppress boundary field errors


 Command ===>
 F1=Help      F2=Split     F3=Exit      F4=CRetriev  F7=Backward  F8=Forward
 F9=Swap     F10=Actions  F12=Cancel
Language Selection
The language used for compiling copybooks to create a template:
1. COBOL
Use the COBOL compiler. This is the default value.
2. PL/I
Use the PL/I compiler.
3. Auto detect
Applies to COBOL and PL/I only. Analyze the source and use the appropriate compiler:
  • If the copybooks do not contain any keywords that FM/IMS can use to determine the language, then FM/IMS uses the COBOL compiler.
  • If the compiler creates ADATA and produces a return code of 4 or less, then FM/IMS creates the template without any prompting.
  • If the compiler creates ADATA but produces a return code greater than 4, then FM/IMS displays a pop-up menu where you can select from various options, including using the other compiler.
  • If no ADATA was created, then FM/IMS uses the other compiler without prompting.
  • If the other compiler creates ADATA but the return code is greater than 4, then FM/IMS displays the pop-up menu.
  • If the other compiler does not create ADATA, then FM/IMS retries the first compiler, and again displays the pop-up menu.
4. HLASM
Use the HLASM compiler.
Override compiler options for template update
Select this option if you want the compiler options specified on the Set COBOL Processing Options panel, the Set HLASM Processing Options panel, or the Set PL/I Processing Options panel to be used when you update a template. If you do not select this option, FM/IMS uses the compiler options options stored in the template.
Note:
  1. Foreground processing will always override the compiler options for older templates that do not contain compiler options. This option should be flagged for batch template update of older templates to generate compiler options in the JCL.
  2. Older templates do not contain compiler options but once the update is performed the template is upgraded to contain compiler options that are used in subsequent updates if this option is not selected.
Preserve copybook library
Ensures that, if a copybook still exists in the library that it was previously found in and that library is in the list that the update is using, then that version of the copybook is used.

If you do not select this option, or the copybook no longer exists in the library it was previously found in, or that library is not in the list the update is using, then the utility searches the libraries in the order they are listed and uses the first version of the copybook that it finds.

Show copybook name with record type field name
Select this option to make the copybook name for a record layout visible during template edit and for an edit, view or browse session where a copybook or template is being used.
Note: For the editor session where the layout name is specified it is prefixed with the name of the associated copybook. This may cause the layout name to be truncated, depending on its length.
Suppress boundary field errors
Select this option to suppress in SNGL display format the display or printing of fields that start beyond the current record boundary.

Parent panels

Child panels

  • None.