PrefaceThe OpenVOS PL/I Language Manual (R009) documents the PL/I language as implemented under OpenVOS. This manual is intended as a reference document, not as a tutorial. This manual is intended for experienced application programmers working in an OpenVOS PL/I environment. Manual VersionThis manual is a revision. Change bars, which appear in the margin, note the specific changes to text since the previous publication of this manual. Note, however, that change bars are not used in new chapters or appendixes. This revision incorporates the following changes.
Manual OrganizationThis manual has 15 chapters and 4 appendixes. Chapter 1 briefly describes the history of the PL/I language. Chapter 2 defines what a PL/I program is and introduces the essential components of the PL/I language. Chapter 3 discusses the block structure of PL/I programs and addresses such issues as block activation and scope rules. Chapter 4 explains the OpenVOS PL/I data types and how they are used. Chapter 5 documents the rules governing conversions between PL/I data types. Chapter 6 describes the OpenVOS PL/I storage classes. This chapter includes discussions of storage sharing and how based variables and pointers are used. Chapter 7 explains how names are declared. This chapter also includes an attribute reference guide. Chapter 8 describes how to refer to PL/I objects within a program, including the use of subscripts and other qualifiers. This chapter also explains the rules the compiler uses to resolve a reference to a specific object. Chapter 9 documents PL/I operators and describes how operators and operands are combined to form expressions. This chapter also explains the rules for evaluating expressions. Chapter 10 documents the OpenVOS preprocessor statements. Chapter 11 documents the PL/I preprocessor statements. Chapter 12 describes the PL/I language statements. Chapter 13 describes the OpenVOS PL/I built-in functions, pseudovariables, and OpenVOS-supplied functions. Chapter 14 explains how to perform I/O using PL/I language statements. Chapter 15 documents PL/I conditions and condition handlers. Appendix A lists the abbreviations for certain OpenVOS PL/I keywords. Appendix B describes how data is stored internally in OpenVOS PL/I. Appendix C summarizes the nonstandard OpenVOS PL/I features. Appendix D provides the OpenVOS internal character code set. Related ManualsSee the following Stratus manuals for related documentation. Notation ConventionsThis manual uses the following notation conventions. The master disk is the name of the member disk from which the module was booted.
Every module must have a copy of the change_current_dir (master_disk)>system>doc
Syntax NotationA language format shows the syntax of an OpenVOS PL/I statement, portion of a statement, declaration, or definition. When OpenVOS PL/I allows more than one format for a language construct, the documentation presents each format consecutively. For complex language constructs, the text may supply additional information about the syntax. The following table explains the notation used in language formats. The Notation Used in Language Formats
In the preceding table, The elements in a list of elements must be entered in the order shown, unless the text specifies otherwise. An element or a list of elements followed by a set of three dots indicates that the element(s) can be repeated. The following example shows a sample language format. delete file( In examples, a set of three vertically aligned dots indicates that a portion of a language construct or program has been omitted. The following example illustrates this concept. a: procedure; declare b entry; . . . call b; . . . end a;
The manual uses a special character,
Online DocumentationThe OpenVOS StrataDOC Web site is an online-documentation service provided by Stratus. It enables Stratus customers to view, search, download, print, and comment on OpenVOS technical manuals via a common Web browser. It also provides the latest updates and corrections available for the OpenVOS document set.
You can access the OpenVOS StrataDOC Web site at This manual is available on the OpenVOS StrataDOC Web site. For information about ordering OpenVOS StrataDOC on supported media, see the next section, "Ordering Manuals." Ordering ManualsYou can order manuals in the following ways.
Manual orders will be forwarded to Order Administration. Commenting on This Manual
You can comment on this manual by using the command
The
Note: If Your comments (along with your name) are sent to Stratus over the RSN. Stratus welcomes any corrections and suggestions for improving this manual. |
|