HPlogo

Getting Started as an MPE/iX Programmer Programmer's Guide: HP 3000 Computer MPE/iX Computer Systems

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

HP Part Number: 32650-90421

Edition: Second Edition

Published: Printed in: U.S.A. 1992


Table of Contents

Preface
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
Command Files and User-defined Command Files
Break Mode
Echo On/Off
Accounting Structure Overview
Logon and Logoff
Account
User
Group
File Specifications
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
2 Utilities and Tools
Programmatic Access to the Command Interpreter
Concatenating Strings and String Substitution
Expression Evaluation
Using Job Control Words (JCWs)
Help Facility
Toolset/XL
Useful Tools
Forms Design and Screen Handling Tools
Report Generation Tools
System Dictionary/XL
Editor
SORT-MERGE/XL
Key
Ordering Sequence
Collating Sequence
DISCFREE
FCOPY/XL
3 Program Development
Writing a Program
How to Use Intrinsics
Compiling a Program
Compiler Input
Compiler Output
Compiler Operation
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
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
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
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
Optimize HP COBOL II/XL Data Types
6 File System
Records and Files in the File System
Device Files
Disc Files
Disc File Storage
File Directory Structure
Domains
File Specifications
File Designators
User-defined Files
System Files
Input/Output Sets
Passed Files
Searching File Directories
Finding Files
Types of Operations Allowed on Files
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
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
Access Control Definitions (ACDs)
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
TurboIMAGE/XL and QUERY/V
Creating a Schema
DBUTIL
TurboIMAGE/XL Procedures
QUERY/V
TurboIMAGE DBchange/V
Key DBchange/V Features
DICTDBA
DICTDBU
DICTDBL
Index

List of Figures

1-1 MPE/iX On-line Access Capabilities
1-2 900 Series HP 3000 High-level Tools
1-3 HP 3000 Software Naming Conventions Example
1-4 Commanding MPE/iX
1-5 UDC File Example
1-6 Accounts Example
1-7 User Example
1-8 Groups Example
1-9 Session and Job Commands
1-10 Session and Job Characteristics
1-11 HP FORTRAN 77/iX COMMON Block Data Alignment Example
1-12 IEEE Single-precision Real Number Format
1-13 IEEE Double-precision Real Number Format
3-1 MPE/iX Program Development
3-2 Compiler Producing Relocatable Object Modules
3-3 Linking and Using User Libraries
3-4 UNSAT Procedure Example
3-5 Job Control Word (JCW) Structure
3-6 JCW Notation Examples
4-1 :LINK and HP Link Editor/XL on MPE/iX
4-2 Files Used by HP Link Editor/XL
4-3 Creating an Executable Program File
4-4 Linking to Create an Executable Program File
4-5 Executable Program File Commands
5-1 Reducing Aliasing
5-2 Eliminating Common Subexpressions
5-3 Instructions Operations on Simple Data Types
5-4 Optimizing Arrays
5-5 Reducing Procedure Calls
5-6 Expanding Small Procedures In-line
5-7 Extracting Calls from Loops
5-8 Avoiding Non-native Alignment
6-1 File System Interface
6-2 Records and Files Relationship
6-3 Specifying Device File Characteristics
6-4 Identifying a Disc File using File Designators
6-5 Backreferencing a Previously Identified File
6-6 System Files in Use
6-7 Using a System File
6-8 Passing Files between Program Runs
6-9 Directories Searched Based on File Domain
6-10 Nested HPFOPEN/FOPEN and FCLOSE Pairs
6-11 File System Hierarchy of Overrides
6-12 Record Types
6-13 Odd-byte Record Sizes
6-14 Creating a File
6-15 Actions Resulting from Multiaccess of Files
6-16 Security Level for File Access
7-1 Building a KSAM File
7-2 Loading a KSAM File
7-3 Reorganizing a KSAM File
7-4 TurboIMAGE/XL Data Set Organization Example
7-5 Example of Creating a Root File
7-6 Creating a Data Base

List of Examples

3-1 Source File Example
Feedback to webmaster