AMT Help Files

Cobol

Within the folder "Cobol", you can view and edit the code for the Cobol forms, programs or subprograms that you have opened. In this folder, each code section is represented by a subfolder. The left and right pane are automatically synchronized, which means that the subfolder that is selected always represents the code section where the cursor is positioned.

Objects contain the following code sections: 

  • Identification Division
  • Environment Division
  • Data Division
  • Procedure Division
  • CobolSections
  • LogicSections
  •  

  • When doing a right mouse click, a popup menu will display options to customize the view, display additional information or to perform certain actions on the code.

    By setting the popdown menu options "Show line number" and "Show revision", extra information may (or may not) be displayed before each code line. For "Show revision", there are several options provided. When the option "Revision" (or "All") is selected, there will be shown five asterisks (*****) before every new code line. Only after checking in the current revision, these asterisks will be replaced with the new revision number.

    If an item name is selected, this popup menu will also display additional information for this item. When typing the name of an object or item, followed by a dot(.) the available properties, functions etc. will popup. This way it will be easier to complete the code. Selecting an option in the popup menu may provide additional information in a hint box.

    The AMT-COBOL syntax itself is case insensitive. Nevertheless, this does not concern literals (including any kind of end user input).

  •