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
                Using the ANY Attribute
                Dummy Arguments for Arguments Passed by Reference
                Using Pointer Values for Arguments Passed by Reference
                Passing Arrays to a FORTRAN Routine by Reference
         11.2.2         Passing Parameters by Descriptor
                Passing Character Strings
                Passing Varying Character Strings
                Using ANY CHARACTER(*)
                Using ANY DESCRIPTOR
                Passing an Actual Descriptor
         11.2.3         Passing Parameters by Value
                Dummy Arguments for Arguments Passed by Value
         11.2.4         Special Parameter Attributes
                LIST Attribute
                OPTIONAL Attribute
                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
                Declaring System Routines
                System Routine Arguments
                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
                Creating the Mailbox
                Deleting the Mailbox
         11.8.3         Timer and Time Conversion Routines
                Obtaining a Time Value in System Format
                Setting the Timer
         11.8.4         A Ctrl/c-Handling Routine
                Establishing a Ctrl/c-Handling Routine
                Ctrl/c Routine
                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