HP 3000 Manuals

HP COBOL II/XL Quick Reference Guide MPE/iX 5.0 Documentation


HP COBOL II/XL Quick Reference Guide

Table of Contents

 HP COBOL II/XL Quick Reference Guide
   HP COBOL II/XL Quick Reference Guide : COPYRIGHT NOTICE

   Ch 1. Preprocessor Commands and$CONTROL Options
      General Format
          Parameters
      $COMMENT
          Syntax
          Parameters
      $CONTROL
          Syntax
          Parameters
      $COPYRIGHT
          Syntax
          Parameter
      $DEFINE
          Syntax
          Parameters
      $EDIT
          Syntax
          Parameters
      $IF
          Syntax
      $INCLUDE
          Syntax
          Parameter
      $PAGE
          Syntax
          Parameter
      $PREPROCESSOR
          Syntax
          Parameters
      $SET
          Syntax
      $TITLE
          Syntax
          Parameters
      $VERSION
          Syntax
          Parameter

   Ch 2.  Program Format

   Ch 3.  IDENTIFICATION DIVISION

   Ch 4.  ENVIRONMENT DIVISION
       CONFIGURATION SECTION
          SOURCE-COMPUTER Paragraph
          OBJECT-COMPUTER Paragraph
          SPECIAL-NAMES Paragraph
      INPUT-OUTPUT SECTION
          File Control Clauses
          I-O-CONTROL Paragraph

   Ch 5.  DATA DIVISION
       FILE SECTION
      WORKING-STORAGE SECTION
      LINKAGE SECTION
      Data Description

   Ch 6.  PROCEDURE DIVISION
      Imperative Statements and Sentences
      PROCEDURE DIVISION Statements
          ACCEPT Statement
          ADD Statement
          ALTER Statement
          CALL Statement
          CANCEL Statement
          CLOSE Statement
          COMPUTE Statement
          CONTINUE Statement
          COPY Statement
          DELETE Statement
          DISPLAY Statement
          DIVIDE Statement
          ENTER Statement
          ENTRY Statement
          EVALUATE Statement
          EXAMINE Statement
          EXCLUSIVE Statement
          EXIT Statement
          EXIT PROGRAM Statement
          GOBACK Statement
          GO TO Statement
          IF Statement
          INITIALIZE Statement
          INSPECT Statement
          MERGE Statement
          MOVE Statement
          MULTIPLY Statement
          OPEN Statement
          PERFORM Statement
          READ Statement
          RELEASE Statement
          REPLACE Statement
          RETURN Statement
          REWRITE Statement
          SEARCH Statement
          SEEK Statement
          SET Statement
          SORT Statement
          START Statement
          STOP Statement
          STRING Statement
          SUBTRACT Statement
          UN-EXCLUSIVE Statement
          UNSTRING Statement
          USE Statement
          WRITE Statement
      General Format for Conditions
          Abbreviated Combined Relation Condition Format
          Class Condition Format
          Combined Condition Format
          Condition-Name Condition Format
          Intrinsic Relation Condition Format
          Negated Condition Format
          Relation Condition Format
          Sign Condition Format
          Switch-Status Condition Format
      Miscellaneous Formats
          Qualification
          Subscripting/Indexing
          Reference Modification
          Identifier
      Special Register Words
      Figurative Constant Words

   Ch 7.  COBOL Reserved Word List

   Ap A. HP COBOL II/XL Compiler Commands
       Command Files
          Syntax
          Parameters
      Compiling Your Program With the RUN Command
          Syntax

   Ap B. HP COBOL II/V Compiler Commands
      Syntax of UDCs
      Syntax of Commands

   Ap C. MPE XL Run-Time Trap Handling

   Ap D. COBEDIT Program
      BUILD
          Syntax
          Parameters
      COPY
          Syntax
      EDIT
          Syntax
          Parameters
      EXIT
          Syntax
      HELP
          Syntax
      KEEP
          Syntax
          Parameters
      LIBRARY
          Syntax
          Parameters
      LIST
          Syntax
          Parameters
      PURGE
          Syntax
          Parameters
      SHOW
          Syntax

   Ap E. COBOL Functions
      The $CONTROL POST85 Option
      ANSI85 Entry Point
      ACOS
          Syntax
          Parameters
      ANNUITY
          Syntax
          Parameters
      ASIN
          Syntax
          Parameters
      ATAN
          Syntax
          Parameters
      CHAR
          Syntax
          Parameters
      COS
          Syntax
          Parameters
      CURRENT-DATE
          Syntax
      DATE-OF-INTEGER
          Syntax
          Parameters
      DAY-OF-INTEGER
          Syntax
          Parameters
      FACTORIAL
          Syntax
          Parameters
      INTEGER
          Syntax
          Parameters
      INTEGER-OF-DATE
          Syntax
          Parameters
      INTEGER-OF-DAY
          Syntax
          Parameters
      INTEGER-PART
          Syntax
          Parameters
      LENGTH
          Syntax
          Parameters
      LOG
          Syntax
          Parameters
      LOG10
          Syntax
          Parameters
      LOWER-CASE
          Syntax
          Parameters
      MAX
          Syntax
          Parameters
      MEAN
          Syntax
          Parameters
      MEDIAN
          Syntax
          Parameters
      MIDRANGE
          Syntax
          Parameters
      MIN
          Syntax
          Parameters
      MOD
          Syntax
          Parameters
      NUMVAL
          Syntax
          Parameters
      NUMVAL-C
          Syntax
          Parameters
      ORD
          Syntax
          Parameters
      ORD-MAX
          Syntax
          Parameters
      ORD-MIN
          Syntax
          Parameters
      PRESENT-VALUE
          Syntax
          Parameters
      RANDOM
          Syntax
          Parameters
      RANGE
          Syntax
          Parameters
      REM
          Syntax
          Parameters
      REVERSE
          Syntax
          Parameters
      SIN
          Syntax
          Parameters
      SQRT
          Syntax
          Parameters
      STANDARD-DEVIATION
          Syntax
          Parameters
      SUM
          Syntax
          Parameters
      TAN
          Syntax
          Parameters
      UPPER-CASE
          Syntax
          Parameters
      VARIANCE
          Syntax
          Parameters
      WHEN-COMPILED
          Syntax
   INDEX
       Index



MPE/iX 5.0 Documentation