Kednos PL/I for OpenVMS Systems
User Manual
Previous
Contents
Index
Chapter 9
9
File-Handling Built-In Subroutines
9.1
DISPLAY Built-In Subroutine
9.2
EXTEND Built-In Subroutine
9.3
FLUSH Built-In Subroutine
9.4
FREE Built-In Subroutine
9.5
NEXT_VOLUME Built-In Subroutine
9.6
RELEASE Built-In Subroutine
9.7
REWIND Built-In Subroutine
9.8
SPACEBLOCK Built-In Subroutine
Chapter 10
10
Error Handling
10.1
RESIGNAL Built-In Subroutine
10.2
ON-Unit Actions
10.2.1
Handling the Condition
10.2.2
Resignaling the Condition
10.2.3
Unwinding the Call Stack
10.2.4
Stopping the Program
10.3
Relationship of OpenVMS Condition Handlers to PL/I ON-Units
10.4
Search Path for ON-Units
10.4.1
Default Handling for Main Procedures
10.4.2
Default Handling for Non-Main Procedures
10.4.3
Multiple Conditions
10.5
Scope of ON-Units
10.6
ON-Unit Examples
10.7
Condition-Handling Built-In Functions
10.7.1
ONARGSLIST Built-In Function
10.7.2
ONCODE Built-In Function
10.7.3
ONFILE Built-In Function
10.7.4
ONKEY Built-In Function
Chapter 11
11
Using PL/I in the Common Language Environment
11.1
OpenVMS Calling Standard
11.1.1
Register and Stack Usage
11.1.2
Return of the Function Value
11.1.3
The Argument List
11.2
Parameter-Passing Mechanisms
11.2.1
Passing Parameters by Reference
11.2.1.1
Using the ANY Attribute
11.2.1.2
Dummy Arguments for Arguments Passed by Reference
11.2.1.3
Using Pointer Values for Arguments Passed by Reference
11.2.1.4
Passing Arrays to a FORTRAN Routine by Reference
11.2.2
Passing Parameters by Descriptor
11.2.2.1
Passing Character Strings
11.2.2.2
Passing Varying Character Strings
11.2.2.3
Using ANY CHARACTER(*)
11.2.2.4
Using ANY DESCRIPTOR
11.2.2.5
Passing an Actual Descriptor
11.2.3
Passing Parameters by Value
11.2.3.1
Dummy Arguments for Arguments Passed by Value
11.2.4
Special Parameter Attributes
11.2.4.1
LIST Attribute
11.2.4.2
OPTIONAL Attribute
11.2.4.3
TRUNCATE Attribute
11.2.5
Summary of Rules for Passing Parameters
11.3
OpenVMS Run-Time Library Routines
11.4
OpenVMS System Service Routines
11.5
OpenVMS Utility Routines
11.5.1
OpenVMS SORT/MERGE Routines
11.6
Calling Routines
11.6.1
Determining the Type of Call
11.6.2
Declaring an External Routine and Its Arguments
11.6.3
Calling the External Routine
11.6.4
Calling System Routines
11.6.4.1
Declaring System Routines
11.6.4.2
System Routine Arguments
11.6.4.3
Symbol Definitions
11.7
Condition Values
11.7.1
Testing for Specific Condition Values
11.7.2
Setting and Displaying Fields Within a Status Value
11.8
Examples of Calling System Routines
11.8.1
Logical Name Translation
11.8.2
Mailbox Services
11.8.2.1
Creating the Mailbox
11.8.2.2
Deleting the Mailbox
11.8.3
Timer and Time Conversion Routines
11.8.3.1
Obtaining a Time Value in System Format
11.8.3.2
Setting the Timer
11.8.4
A Ctrl/c-Handling Routine
11.8.4.1
Establishing a Ctrl/c-Handling Routine
11.8.4.2
Ctrl/c Routine
11.8.4.3
Testing the Ctrl/c Routine
11.8.5
Obtaining Job/Process Information
11.8.6
Using SORT Routines
Chapter 12
12
Global Symbols
12.1
Using Global Symbols in PL/I Procedures
12.1.1
The GLOBALDEF Attribute
12.1.2
The GLOBALREF Attribute
12.1.3
Defining Global Symbols in PL/I
12.1.4
Using MACRO Global Symbols with Multiple Definitions
12.2
The READONLY and VALUE Attributes
12.2.1
The READONLY Attribute
12.2.2
The VALUE Attribute
12.3
Obtaining Definitions for System Global Symbols
Previous
Next
Contents
Index