Document revision date: 19 July 1999
OpenVMS Programming Concepts Manual
Previous
Contents
Index
Index
Index
Examples
2-1
Performing an Iterative Calculation with a Spawned Subprocess
2-2
Opening a Mailbox
2-3
Synchronous I/O Using a Mailbox
2-4
Immediate I/O Using a Mailbox
2-5
Asynchronous I/O Using a Mailbox
3-1
Obtaining Different Types of Process Information
3-2
Using SYS$GETJPI to Obtain Calling Process Information
3-3
Obtaining the Process Name
3-4
Using SYS$GETJPI and the Process Name to Obtain Information About a Process
3-5
Using SYS$GETJPI to Request Information About All Processes on the Local System
3-6
Using SYS$GETJPI and SYS$PROCESS_SCAN to Select Process Information by User Name
3-7
Using SYS$GETJPI and SYS$PROCESS_SCAN with Multiple Values for One Criterion
3-8
Selecting Processes That Match Multiple Criteria
3-9
Searching the Cluster for Process Information
3-10
Searching for Process Information on Specific Nodes in the Cluster
3-11
Using a SYS$GETJPI Buffer to Improve Performance
3-12
Using SYS$GETJPI Control Flags to Avoid Swapping a Process into the Balance Set
3-13
Procedure for Obtaining Process Lock Information
3-14
Executing a Program Using Delta Time
3-15
Executing a Program at Timed Intervals
5-1
Calling the SYS$SETIMR System Service
6-1
Calculating and Displaying the Time
6-2
Setting an Event Flag
6-3
Specifying an AST Service Routine
6-4
Displaying and Writing Timer Statistics
9-1
Reading a Line of Data
9-2
Reading a Varying Number of Input Records
9-3
Associating a Pasteboard with a Terminal
9-4
Creating a Pasteboard
9-5
Modifying Screen Dimensions and Background Color
9-6
Defining and Pasting a Virtual Display
9-7
Scrolling Forward Through a Display
9-8
Scrolling Backward Through a Display
9-9
Creating a Statistics Display
9-10
Reading Data from a Virtual Keyboard
9-11
Reading Data from the Keypad
9-12
Redefining Keys
9-13
Using Interrupts to Perform I/O
9-14
Receiving Unsolicited Input from a Virtual Keyboard
9-15
Trapping Broadcast Messages
10-1
Mapping a Data File to the Common Block on a VAX System
10-2
Mapping a Data File to the Common Block on an Alpha System
10-3
Using a User-Open Routine
10-4
Closing a Mapped File
10-5
Creating a Sequential File of Fixed-Length Records
10-6
Updating a Sequential File
11-1
Event Flags
11-2
AST Routine
11-3
I/O Status Block
11-4
Reading Data from the Terminal Synchronously
11-5
Reading Data from the Terminal Asynchronously
11-6
Writing Character Data to a Terminal
11-7
Using SYS$GETDVIW to Verify the Device Name
11-8
Disabling the HOSTSYNC Terminal Characteristic
17-1
Requesting a Null Lock
19-1
Interprocess Communication Using Global Sections
20-1
Sample Dispatching Routine
20-2
Assigning Values to a PLV on a VAX System
20-3
Creating a PLV on Alpha Systems
20-4
Declaring Universal Symbols for Privileged Shareable Image on an Alpha System
23-1
Monitoring Heap Operations with a User-Defined Zone
24-1
OpenVMS Debugger Output from SET OUTPUT LOG Command
Figures
3-1
Image Exit and Process Deletion
6-1
Predefined Output Date Formats
6-2
Predefined Output Time Formats
7-1
Format of a Variable-Length Bit Field
8-1
Using Cross-Reference Routines
8-2
Summary of Symbol Names and Values
8-3
Summary of Symbol Names, Values, and Name of Referring Modules
8-4
Summary Indicating Defining Module
8-5
Output Line for LIB$CRF_OUTPUT
9-1
Defining and Pasting Virtual Displays
9-2
Moving a Virtual Display
9-3
Repasting a Virtual Display
9-4
Popping a Virtual Display
9-5
Statistics Display
11-1
Mailbox Protection Fields
11-2
Physical I/O Access Checks
11-3
Logical I/O Access Checks
11-4
Physical, Logical, and Virtual I/O
11-5
I/O Function Format
11-6
Function Modifier Format
11-7
I/O Status Block
11-8
SYS$MOUNT Item Descriptor
14-1
Participants in a Distributed Transaction
15-1
SS$_HPARITH Exception Signal Array
15-2
SS$_ALIGN Exception Signal Array
15-3
Format of a Condition Value
15-4
Searching the Stack for a Condition Handler
15-5
Sample Stack Scan for Condition Handlers
15-6
Format of the Signal Argument Vector
15-7
Signal Argument Vector for the Reserved Operand Error Conditions
15-8
Signal Argument Vector for RTL Mathematics Routine Errors
15-9
Format of a VAX Mechanism Argument Vector
15-10
Mechanism Array on Alpha Systems
15-11
Stack After Second Exception Condition Is Signaled
15-12
Interaction Between Handlers and Default Handlers
15-13
Unwinding the Call Stack
15-14
Formats of Message Sequences
15-15
Using a Condition Handler to Log an Error Message
15-16
Structure of an Exit Handler
17-1
Model Database
17-2
Three Lock Queues
17-3
Deadlock
17-4
Lock Status Block
18-1
Sequence of Events During Image Initialization on VAX Systems
18-2
Sequence of Events During Image Initialization on Alpha Systems
20-1
Flow of Control Accessing a Privileged Routine on VAX Systems
20-2
Components of the Privileged Library Vector on VAX Systems
20-3
Linkage for a Privileged Routine after Image Activation
21-1
Virtual Address Overview on VAX Systems
21-2
Layout of VAX Process Virtual Address Space
21-3
Physical Address Space for VAX Systems with XPA
21-4
Virtual Address Space for VAX Systems with XVA
21-5
Hierarchy of VAX Memory Management Routines
22-1
Layout of Alpha Process Virtual Address Space
22-2
Hierarchy of Alpha Memory Management Routines
23-1
Memory Fragmentation
23-2
Boundary Tags
24-1
Aligned and Unaligned Structures
24-2
Alignment Using VAX C Compiler
24-3
Alignment Using DEC C Compiler
25-1
ID Format
25-2
UIC Identifier Format
25-3
Facility-Specific Identifiers
25-4
Format of the Identifier Record
25-5
Format of the Holder Record
25-6
Format of the Holder Argument
25-7
Previous Per-Thread Security Model
25-8
Per-Thread Security Profile Model
Tables
1-1
Characteristics of Subprocesses and Detached Processes
1-2
Comparison of LIB$SPAWN, PPL$SPAWN, and SYS$CREPRC Context Values
3-1
Routines and Commands for Controlling Processes and Kernel Threads
3-2
Process Identification
3-3
SYS$GETJPI Kernel Threads Item Codes
3-4
SYS$PROCESS_SCAN Kernel Threads Item Codes
3-5
Item-Specific Flags
3-6
Capabilities
3-7
Time Manipulation System Services and Routines
3-8
Process Hibernation and Suspension
3-9
System Services and Routines Used for Hibernation and Suspension
5-1
AST System Services
5-2
System Services That Use ASTs
5-3
AST Arguments for VAX Systems and Alpha Systems
6-1
Time Conversion Routines and System Services
6-2
Date/Time Manipulation Routines
6-3
Timer RTLs and System Services
6-4
Timer System Services
6-5
Available Languages for Date/Time Formatting
6-6
Format Mnemonics
6-7
Input String Punctuation and Defaults
6-8
Predefined Output Date Formats
6-9
Predefined Output Time Formats
6-10
Available Components for Specifying Formats at Compile Time
6-11
Legible Format Mnemonics
6-12
Sample Input Format Strings
7-1
System Service Access Routines
7-2
CLI Access Routines
7-3
Variable-Length Bit Field Routines
7-4
Integer and Floating-Point Routines
7-5
Queue Access Routines
7-6
Character String Routines
7-7
Miscellaneous Instruction Routines
7-8
Processwide Resource Allocation Routines
7-9
Performance Measurement Routines
7-10
The
Code Argument in LIB$SHOW_TIMER and LIB$STAT_TIMER
7-11
Routines for Customizing Output
7-12
Miscellaneous Interface Routines
8-1
Cross-Reference Routines
9-1
SYS$INPUT and SYS$OUTPUT Values
9-2
Setting Video Attributes
11-1
Read and Write I/O Functions
11-2
Asynchronous Input/Output Services and Their Synchronous Versions
11-3
System Services for Translating Logical Names
11-4
Default Device Names for I/O Services
12-1
Logical Name Services and DCL Commands
12-2
Summary of Privileges
15-1
Summary of Exception Conditions
15-2
Architecture-Specific Hardware Exceptions
15-3
Exception Summary Argument Fields
15-4
Run-Time Library Condition-Handling Support Routines
15-5
Fields of a Condition Value
15-6
Severity of Error Conditions
15-7
Privilege Errors
15-8
Quota Errors
15-9
$CHFDEF Symbolic Names and Arguments on VAX Systems
15-10
$CHFDEF2 Symbolic Names and Arguments on Alpha Systems
15-11
Fields in the Alpha Mechanism Array
16-1
Usage Styles of Event Flags
16-2
Event Flag Routines and Services
16-3
Event Flags
17-1
Lock Manager Services
17-2
Lock Modes
17-3
Compatibility of Lock Modes
17-4
Legal QUECVT Conversions
17-5
Effect of Lock Conversion on Lock Value Block
20-1
Components of the VAX Privileged Library Vector
20-2
Components of the Alpha Privileged Library Vector
21-1
Sample Virtual Address Arrays on VAX Systems
21-2
Flag Bits to Set for Specific Section Characteristics on VAX Systems
22-1
Page and Byte Offset Within Pages on Alpha Systems
22-2
Sample Virtual Address Arrays on Alpha Systems
22-3
Flag Bits to Set for Specific Section Characteristics on Alpha Systems
23-1
Overhead for Area Control Blocks
23-2
Possible Values for the Block Size Attribute
23-3
Attribute Values for the Default Zone
23-4
Allocation Algorithms
24-1
Aligned Data Sizes
25-1
Using System Services to Manipulate Elements of the Rights Database
25-2
Returned Records of SYS$IDTOASC, SYS$FIND_HELD, and SYS$FIND_HOLDER
25-3
Item Code Symbols and Meanings
Previous
Next
Contents
Index
privacy and legal statement
5841PRO_CONTENTS_009.HTML