HP 3000 Manuals

Micro Focus COBOL Language Reference - Additional Topics MPE/iX 5.0 Documentation


Micro Focus COBOL Language Reference - Additional Topics

Table of Contents

 Micro Focus COBOL Language Reference - Additional Topics
   Micro Focus COBOL Language Reference - Additional Topics : COPYRIGHT NOTICE

   Ch 1.  Report Writer
      Report Section
          Report Structure
             Vertical Spacing
             Horizontal Spacing
             Data Manipulation
          Report Subdivisions
             Physical Subdivision of a Report
             Logical Subdivisions of a Report
             Procedure Division Report Writer Statements
      Language Concepts
          Report File
          Special Register PAGE-COUNTER
          Special Register LINE-COUNTER
          For OSVS only: Special Register PRINT-SWITCH
          Subscripting
      Environment Division in the Report Writer Module
          Input-Output Section
          The File-Control Paragraph
             Function
                Additional Syntax Rules
          The I-O-Control Paragraph
             Function
             Additional Syntax Rule
      Data Division in the Report Writer Module
          The File Description Entry
             Function
             General Format
             Syntax Rules
             General Rules
          The REPORT Clause
             Function
             General Format
             Syntax Rules
             General Rules
          Report Section
             General Format
             Report Description Entry
             Report Group Description Entry
          The Report Description Entry
             Function
             General Format
             Syntax Rules
             General Rules
          PAGE-COUNTER Rules
          LINE-COUNTER Rules
          The CODE Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The CONTROL Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The PAGE Clause
             Function
             General Format
             Syntax Rules
             General Rules
          Page Regions
          The Report Group Description Entry
             Function
             General Formats
                Format 1
                Format 2
                Format 3
             Syntax Rules
                All Formats
                Format 1
                Format 2
                Format 3
             General Rules
      Data Division in the Report Writer Module (cont.)
          Presentation Rules Tables
             Description
             Organization
             Line Number Clause Notation
             Line Number Clause Sequence Substitutions
             Saved Next Group Integer Description
             Report Heading Group Presentation Rules
             Page Heading Group Presentation Rules
             Body Group Presentation Rules
             Page Footing Presentation Rules
             Report Footing Presentation Rules
          The COLUMN NUMBER Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The DATA-NAME Clause
             Function
             General Format
             Syntax Rule
             General Rule
      Data Division in the Report Writer Module (cont)
          The GROUP INDICATE Clause
             Function
             General Format
             Syntax Rule
             General Rules
          Level-Number
             Function
             General Format
             Syntax Rules
             General Rules
          The LINE NUMBER Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The NEXT GROUP Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The SIGN Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The SOURCE Clause
             Function
             General Format
             Syntax Rules
             General Rule
          The SUM Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The TYPE Clause
             Function
             General Format
                Syntax Rules
             General Rules
          The USAGE Clause
             Function
             General Format
             Syntax Rules
             General Rules
          The VALUE Clause
             Function
             General Format
             Syntax Rules
             General Rules
      Procedure Division in the Report Writer Module
          General Description
          The CLOSE Statement
             Function
             General Format
                Syntax Rules
             General Rules
          The GENERATE Statement
             Function
             General Format
             Syntax Rules
             General Rules
          The INITIATE Statement
             Function
                General Format
             Syntax Rule
             General Rules
          The OPEN Statement
             Additional Syntax Rules
             Additional General Rule
          The SUPPRESS Statement
             Function
             General Format
             Syntax Rule
             General Rules
          The TERMINATE Statement
             Function
             General Format
             Syntax Rule
             General Rules
          The USE BEFORE REPORTING Statement
             Function
             General Format
             Syntax Rules
             General Rules

   Ch 2.  Communication
      Data Division in the Communication Module
          Communication Section
          The Communication Description - Complete Entry Skeleton
             Function
                General Formats
                Format 1
                Format 2
                For ANS85 only: Format 3
             Syntax Rules
                All Formats
                Formats 1 and (3 - ANS85)
                Format 2
                For ANS85 only: Format 3
             General Rules
                All Formats
                Format 1
                Format 2
                For ANS85 only: Format 3
      Procedure Division in the Communication Module
          The ACCEPT MESSAGE COUNT Statement
             Function
                General Format
                Syntax Rule
             General Rules
          The DISABLE Statement
             Function
                General Format
             Syntax Rules
             General Rules
          The ENABLE Statement
             Function
                General Format
             Syntax Rules
             General Rules
          For ANS85 only: The PURGE Statement
             Function
             General Format
             Syntax Rules
             General Rules
          The RECEIVE Statement
             Function
                General Format
                Syntax Rule
             General Rules
          The SEND Statement
             Function
             General Formats
                Format 1
                Format 2
             Syntax Rules
             General Rules
                Both Formats
                Format 2

   Ch 3.  Debug Module
      Standard ANSI COBOL Debug
          Object-time Switch
          COBOL Debug Run-time Switch
      Environment Division in COBOL Debug
          The WITH DEBUGGING MODE Clause
             Function
             General Format
                General Rules
      Procedure Division in COBOL Debug
          For OSVS and VSC2 only: The READY TRACE Statement
             Function
             For VSC2 only: General Format
             General Rules
          For OSVS and VSC2 only: The RESET TRACE Statement
             Function
             General Format
             General Rules
          The USE FOR DEBUGGING Statement
             Function
             General Format
             Run-time Switches
             Syntax Rules
             General Rules
          Debugging Lines

   Ch 4.  Segmentation
      General Description of Segmentation
          Organization
             Program Segments
             Fixed Portion
             Independent Segments
          Segmentation Classification
          Segmentation Control
      Structure of Program Segments
          Segment-Numbers
             General Format
             Syntax Rules
             General Rules
          Segment-Limit
             General Format
             Syntax Rule
             For MF only: General Rule
      Restrictions on Program Flow
          The ALTER Statement
          The PERFORM Statement
          The MERGE Statement
          The SORT Statement

   Ch 5.  For VSC2 and MF only:  Double-Byte Character Set Support
      DBCS Data
      Roman Script in DBCS
      Multivendor Integration Architecture Support
      Source Programs
      Language Extensions
      Comments and Comment-entries
      User-defined Words
      Spaces
      For VSC2 and MF only: Data Items
          DBCS Data Items
          Mixed Data Items
      Literals
          DBCS Literals
             Category of DBCS Literals
          Mixed Literals
          Figurative Constants
          For MF and COB/370 only: The "N" literal
             General Format
             Syntax Rules
             General Rules
      For MF and VSC2 only: Program Structure
          The END PROGRAM Header
             Syntax Rule
      For MF and VSC2 only: Identification Division in the DBCS Module
          The PROGRAM-ID Paragraph
             Syntax Rules
      For VSC2 and MF only: Environment Division
          The SOURCE-COMPUTER Paragraph
             Syntax Rule
          The OBJECT-COMPUTER Paragraph
             Syntax Rule
          The SPECIAL-NAMES Paragraph
             Syntax Rules
             The FILE-CONTROL Paragraph
             Syntax Rule
      For VSC2 and MF only: Data Divisionin the DBCS Module
          The JUSTIFIED Clause
             General Rule
          The PICTURE Clause
             General Rules
          Rules for DBCS Data
          Rule for DBCS Edited Data
             Symbols Used
          Editing Rules
          Fixed Insertion Editing
          The REDEFINES Clause
             Syntax Rule
          RENAMES Clause
             Syntax Rule
          The USAGE Clause
             General Format
             Syntax Rules
             General Rule
          The VALUE Clause
             Syntax Rules
          CONDITION-NAME Rule
      For VSC2 and MF only: Procedure Division
          Conditional Expressions
             Relation Conditions
             Class Condition
          Move Operation
          The ACCEPT Statement
             Syntax Rule
             General Rules
          The CALL Statement
             Syntax Rules
             General Rule
          The CANCEL Statement
             Syntax Rules
          The INITIALIZE Statement
             General Format
             General Rule
          The INSPECT Statement
             Syntax Rule
             General Rule
          The MOVE Statement
             Syntax Rules
             General Rules
          The SEARCH Statement
             Syntax Rule
          The STOP Statement
             Syntax Rule
          The STRING Statement
             Syntax Rule
             General Rule
          The UNSTRING Statement
             Syntax Rule
             General Rules

   Ch 6.  For MF only:  Micro Focus Extensions for Double-Byte Character Support
      NCHAR Data
      Source Programs
      Language Extensions
      Comments and Comment-entries
      User-defined Words
      Spaces
      Data Items
          NCHAR Data Items
          Mixed Data
      Literals
          NCHAR Literals
          Category of NCHAR Literals
          Mixed Literals
          Figurative Constants
          Figurative Constant Values
      Environment Division
          The OBJECT-COMPUTER Paragraph
             General Rule
          The SPECIAL-NAMES Paragraph
             Syntax Rules
          The FILE-CONTROL Paragraph
             Syntax Rule
      Data Division
          The JUSTIFIED Clause
             General Rule
          The PICTURE Clause
             General Rules
          Rules for NCHAR Data
          Rule for NCHAR-EDITED Data
             Symbols Used
          Editing Rules
          Fixed Insertion Editing
          The USAGE Clause
             General Format
             Syntax Rules
             General Rule
          The VALUE Clause
             Syntax Rule
      Procedure Division
          Conditional Expressions
             Condition-name
             Relation Conditions
             Class Condition
          The ACCEPT Statement
             General Rule
          The INITIALIZE Statement
             General Format
             Syntax Rule
             General Rule
          The INSPECT Statement
             General Rule
             Syntax Rule
          The MOVE Statement
             Syntax Rules
             General Rules
          The SEARCH Statement
             General Rule
          The STRING Statement
             General Rule
             Syntax Rule
          The UNSTRING Statement
             General Rule
             Syntax Rule

   Ch 7.  Examples
      CALL Prototypes
          Example 1
          Example 2
          Example 3
          Example 4
          Example 5
          Example 6
          Example 7
          Example 8
          Example 9
          Example 10
          Example of CALL Prototype Usage
          Calling and Setting a Procedure-Pointer
          Call Returning a Dynamically Allocated Data Area from a Subprogram
          COPY (ANSI'68 or LANGLVL(1) Variation)
          COPY (Partial Word Replacement)
          CRT Status Clause of the SPECIAL-NAMES Paragraph
          $IF Statement (Conditional Compilation)
          INSPECT Statement (Tallying, Replacing, and Converting)
             Example 1:
             Example 2:
             Example 3:
             Example 4:
             Example 5:
          NEXT Clause of CONSTANT-NAMES
          SORT Table Entries
          Split Key
          TYPEDEF - User Defined USAGE or Structure

   Ch 8.  Summary of Obsolete Language Elements
      List of Obsolete Language Elements

   Ch 9.  VS COBOL II Compatibility

   Ch 10.  DOS/VS COBOL Support

   Ch 11.  Microsoft COBOL V1.0 and V2.0 Syntax Support
      Special Registers LIN and COL
      Environment Division
          The Special-Names Paragraph
      Data Division
          The USAGE Clause
             General Format
             Syntax Rules
             General Rules
      Procedure Division
          The Position-Specification Phrase
             Function
             General Format
             Syntax Rule
          The ACCEPT Statement
             General Format
             General Rules
          The DISPLAY Statement
             General Format
             General Rules
          The EXHIBIT Statement
             General Format
             Syntax Rule
             General Rule
      Microsoft V2.0 Additional Syntax Support
          Record LOCKING
             Function
             General Format
             General Rules
          OPEN LOCKING Statement
             General Format
             General Rules
          READ Statement (in Manual mode)
             General Format
          START Statement
             General Format

   Ch 12.  Ryan McFarland COBOL V2.0 Syntax Support
      Environment Division
          The ASSIGN Clause
             General Format
             General Rule
          The ORGANIZATION Clause
             General Format
             General Rules
      Data Division
          The VALUE OF LABEL Clause
             General Format
             General Rule
          Length of Nonnumeric Literals
          Default Sign Representation
          The USAGE Clause
             General Format
             Syntax Rules
             General Rules
      Procedure Division
          Literals as CALL Parameters
          The EXIT PROGRAM Statement
          Bound Checking
          Size Allocation for Index Data Items
          The ACCEPT Statement
             General Format
             Syntax Rules
             General Rules
          The DISPLAY Statement
             General Format
             Syntax Rules
             General Rules
          Non-Standard Operations on Alphanumeric Data Items
          OPEN and CLOSE on SEQUENTIAL Files
          The PERFORM Statement
          Procedure Names
          REWRITE on LINE SEQUENTIAL Files
          The STOP RUN Statement
             General Format
             Syntax Rules
             General Rule
          File I-O Status Codes
          Locked Records

   Ch 13.  Data General Interactive COBOL V1.3 Syntax Support
      Environment Division
          Switch-Names
          File-Name on Disk
          The DATA SIZE Clause
          The INDEX SIZE Clause
          Duplicate Alternate Keys
          Alternate Keys
          I-O Control Paragraph
      Data Division
          VALUE Clause
          The Screen Section
      Procedure Division
          The CALL Statement
             General Format
             General Rule
          The COPY INDEXED Statement
          The DISPLAY Statement
          File Sharing Syntax
          The OPEN Statement
          The READ Statement
   GLOSSARY
   INDEX
       Index



MPE/iX 5.0 Documentation