PrefaceThe VOS PL/I Language Manual (R009) documents the PL/I language as implemented under the Virtual Operating System (VOS). This manual is intended as a reference document, not as a tutorial. This manual documents VOS PL/I for VOS Release 15.2.0. This manual is intended for experienced application programmers working in a VOS 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. In addition, documentation errors from the previous version of this manual have been corrected, and customer suggestions have been incorporated. 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 VOS 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 VOS 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 VOS preprocessor statements. Chapter 11 documents the PL/I preprocessor statements. Chapter 12 describes the PL/I language statements. Chapter 13 describes the VOS PL/I built-in functions, pseudovariables, and VOS-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 VOS PL/I keywords. Appendix B describes how data is stored internally in VOS PL/I. Appendix C summarizes the nonstandard VOS PL/I features. Appendix D provides the VOS 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
Key Mappings for VOS FunctionsVOS provides several command-line and display-form functions. Each function is mapped to a particular key or combination of keys on the terminal keyboard. To perform a function, you press the appropriate key(s) from the command-line or display form. For an explanation of the command-line and display-form functions, see the manual Introduction to VOS
The keys that perform specific VOS functions vary depending on the terminal. For example, on a V105 ANSI terminal, you press the Note: Certain applications may define these keys differently. Refer to the documentation for the application for the specific key mappings. The following table lists some VOS functions and the keys to which they are mapped on commonly used Stratus terminals. For information about the key mappings for a terminal that is not listed in this table, refer to the documentation for that terminal.
Syntax NotationA language format shows the syntax of a VOS PL/I statement, portion of a statement, declaration, or definition. When VOS 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 VOS StrataDOC Web site is an online-documentation service provided by Stratus. It enables Stratus customers to view, search, download, print, and comment on VOS technical manuals via a common Web browser. It also provides the latest updates and corrections available for the VOS document set.
You can access the VOS StrataDOC Web site at This manual is available on the VOS StrataDOC Web site. For information about ordering the VOS StrataDOC CD-ROM, 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. |
||||||||||||||||||||||||||||||||||||||||||