HP 3000 Manuals

Getting Started as an MPE/iX Programmer Programmer's Guide MPE/iX 5.0 Documentation


Getting Started as an MPE/iX Programmer Programmer's Guide

Table of Contents

 Getting Started as an MPE/iX Programmer Programmer's Guide
   Getting Started as an MPE/iX Programmer Programmer's Guide : COPYRIGHT NOTICE
   How to Use this Manual
      Organization of this Manual

   Ch 1.  OVERVIEW
      Introduction to the HP 3000
          900 Series HP 3000
          HP Precision Architecture (HP-PA)
      MPE Operating Systems
          MPE/iX and MPE V/E Operating Systems
          Naming Conventions for HP 3000 Systems and Software
          Native Mode and Compatibility Mode
          MPE/iX Mixed Modes
      900 Series Migration
          Object Code Translator
          Native Mode Compilers
          Data Base Manipulations
          Migration Restrictions
          Cross-family Application Development
      MPE/iX Features
          Multiprogramming
          Interactive and Batch Processing
      MPE/iX Information Management
          Self-adjusting System Tables
          On-line Diagnostics for Peripherals
          Disc Failure Tolerance
          Automatic Power Fail Recovery
      MPE/iX Transaction Management Facility
          Transaction Locking
          Transaction Logging and Recovery
          Simplifying a Program
      DEBUG
      MPE/iX User Interface
      MPE/iX System Performance
          Mapped Files
          Directory Entries
      Native Mode System Components
      Terminal Keyboard Layouts
      Giving Commands to MPE/iX
          MPE/iX Commands
             MPE/iX Command Parameters
             Continuing an MPE/iX Command to Another Line
             On-line Help in Using an MPE/iX Command
             Correcting or Modifying an MPE/iX Command
             Referring to Several Files at Once
          Command Files and User-defined Command Files
      Break Mode
      Echo On/Off
      Accounting Structure Overview
          Logon and Logoff
          Account
          User
          Group
          File Specifications
             Referring to a File in a Different Group
             Referring to a File in a Different Account
      Session and Batch Modes
      Converting Data Files from MPE V/E to MPE/iX
          Data Alignment Differences
          Converting Files
      Data Communications
          Network File Transfer (NFT)
          Remote Process Management (RPM)
          Local Area Network (LAN)
          Remote File Access
          Remote Terminal Access
          Remote Data Base Access

   Ch 2.  Utilities and Tools
      Programmatic Access to the Command Interpreter
          Concatenating Strings and String Substitution
          Expression Evaluation
          Using Job Control Words (JCWs)
             Job Control Word Name and Type
             Changing the Value of a JCW
             JCW and CIERROR
             Reserved-word Prefixes
          Help Facility
      Toolset/XL
      Useful Tools
          Forms Design and Screen Handling Tools
             Source Data Entry
             Transaction Processing
             VPLUS/V Features
          Report Generation Tools
             Business Report Writer/XL
             Report/V
             HP Visor
          System Dictionary/XL
      Editor
      SORT-MERGE/XL
          Key
          Ordering Sequence
          Collating Sequence
      DISCFREE
      FCOPY/XL

   Ch 3.  Program Development
      Writing a Program
          How to Use Intrinsics
      Compiling a Program
          Compiler Input
          Compiler Output
          Compiler Operation
             Compiled Code
             Data Variables Information
             Unresolved References
             Compiler Libraries
             Command to Compile Only
             Compiler Control
      Linking a Program
          Creating Executable Program Files
          Symbol Listing
      Loading and Running a Program
          Program Auxiliary Header
          Using Executable Libraries
          Searching Executable Libraries
          UNSAT Procedure
          System Libraries
          Mixing Execution Modes
          Virtual Memory and Demand Paging
          LMAP: Load MAP
          Load-time Binding Sequence
          Running a Program
      Multi-programming Environment
          Priority Levels
             Linear Subqueues
             Circular Subqueues
      Error Detection
          Command Interpreter Errors
          File System Errors
          Compiler, Link Editor, and Loader Errors
          Run-time Errors
          Abort Message Information
          Typical Causes of Program Aborts
          File Information Display (Tombstone)
      Control Codes (JCWs)
          System JCW
          JCW Notation
          Using a System JCW
          User-defined JCWs
          Using a User-defined JCW

   Ch 4.  HP Link Editor/XL
      Common Uses of HP Link Editor/XL
      Linking a Relocatable Object File
      Comparison of HP Link Editor/XL and MPE V/E Segmenter
      How HP Link Editor/XL Works
      Files Used by HP Link Editor/XL
      HP Link Editor/XL Commands
          Case Sensitivity
          Keyword and Positional Parameters
      Using an Indirect File
      Starting and Ending HP Link Editor/XL
      Creating an Executable Program File
      Comparison of Executable and Relocatable Libraries
      Using a Relocatable Library
      Using an Executable Library

   Ch 5.  Optimizing a Program
      Optimizer Levels
      Use of MPE/iX Optimizer with Languages
      Optimizer Assumptions
      Coding for Performance and Optimization
          Reduce Aliasing
          Use Optimal Data Types
          Eliminate Common Subexpressions
          Instructions Required for Operations on Simple Data Types
          Optimize Arrays
          Reduce Procedure Calls
          Expand Small Procedures In-line
          Extract Procedure Calls from Loops
          Avoid Non-native Alignment
          Optimize HP COBOL II/XL Data Types

   Ch 6.  File System
      Records and Files in the File System
          Device Files
          Disc Files
      Disc File Storage
      File Directory Structure
          Domains
             NEW Files
             TEMP Files
             PERMANENT Files
             Effect of File Domain on Operations
             Changing Domains
          File Specifications
          File Designators
             Backreferencing a File
             File Classes
          User-defined Files
          System Files
          Input/Output Sets
          Passed Files
          Searching File Directories
          Finding Files
          Types of Operations Allowed on Files
             Opening a File
             Closing a File
      Using Files at Run Time
      Hierarchy of File Overrides
      Record Structure
          Storage Format
          Record Types
          Specifying a Record Size
      File Structure
          File Types
          File Codes
          Creating a File
             HPFOPEN and FOPEN Intrinsics
             The :BUILD Command
          Deleting Files
          Renaming Files
          Saving Temporary Files
          Listing File Characteristics
          The :FILE Command
      Record Selection and Data Transfer
          Record Pointers
          Pointer Initialization
          Record Selection
          Mapped Access to Disc Files
          Multiple Record Transfers
          Data Transfer Control Operations
          Reading from a File
          Writing to a File
          Updating a File
          Using Mapped Access to a File
          Device File Buffers
      Sharing a File
      Maintaining File Security
          Lockwords
          MPE/iX File Access System
             Specifying and Restricting File Access by Access Mode
             Specifying File Access by Type or User
          Access Control Definitions (ACDs)
             Specifying and Restricting File Access
             Managing ACDs with Commands and Intrinsics
             Changing Disc File Security Provisions
             Suspending and Restoring Security Provisions

   Ch 7.  Data Management
      Data Management Subsystems
      KSAM/V
          FCOPY (KSAM Options)
          KSAM procedures
      ALLBASE/SQL
      HP SQL
          Security
          Logical Transaction
          Concurrency
          Recovery
          Database Creation
          Database Restructuring
      TurboIMAGE/XL Data Base
          Master Set
             Chain Head
             Automatic Master Set
             Manual Master Set
      TurboIMAGE/XL and QUERY/V
          Creating a Schema
             Creating a Root File
          DBUTIL
             Creating a Data Base
          TurboIMAGE/XL Procedures
             Backing Up or Restructuring a Data Base
             Changing an Existing Data Base Design
             Recovering a Data Base
      QUERY/V
      TurboIMAGE DBchange/V
          Key DBchange/V Features
          DICTDBA
          DICTDBU
          DICTDBL
   INDEX
       Index



MPE/iX 5.0 Documentation