IntroductionThe Purpose of This ManualThe VOS COBOL Programmer's Guide (R077) documents VOS COBOL. While this manual does discuss standard COBOL, it adds to the discussion by bringing in the additional flexibility and the extensions of VOS COBOL. AudienceThis manual is intended for the experienced programmer who is unfamiliar with COBOL. The material is basic so that any programmer should be able to find it useful. This manual is also intended to assist the COBOL programmer who needs to know how VOS COBOL differs from ANSI COBOL. The manual discusses these differences throughout its sections and provides information on how to best use VOS COBOL. This manual is not a tutorial for a person who is not familiar with a programming language. Such a person should obtain one of the many tutorials available on COBOL before reading this manual. This manual is not an exhaustive study of COBOL. Refer to the VOS COBOL Language Manual for additional information on COBOL. This manual discusses VOS COBOL. VOS COBOL includes the features of ANSI COBOL, yet has relaxed many restrictions required in ANSI COBOL, and has added numerous extensions. Extensions make VOS COBOL more versatile and more powerful than ANSI COBOL. For a list of VOS COBOL extensions, refer to the VOS COBOL Language Manual . The examples in this manual illustrate language features and constructs. They use terminal I/O extensively and are not examples of realistic applications. Revision InformationThis is Revision 0 of the VOS COBOL Programmer's Guide (R077). It documents VOS COBOL with VOS Release 5.0. Manual OrganizationThis manual has 12 sections and a glossary. Chapter 1 provides an overview of the concepts of the COBOL language.
Chapter 2 looks at a program's organization and major components. It discusses figurative constants, literals, separators, and the
Chapter 3 provides information on data objects, the Data Division, and defining data. It includes a discussion of file and record descriptions, level numbers, condition-names, the Chapter 4 discusses VOS I/O and how to retrieve and store data. This section includes information on file organization, access modes, ports, I/O objects, and locking. It discusses open modes, file processing, and file error handling. Read Chapter 4 to become familiar with the different file types and to study many working programs illustrating the different aspects of files in COBOL.
Chapter 5 covers data manipulation. This section discusses COBOL's
Chapter 6 discusses arithmetic operations. This section lists the arithmetic statements, associated phrases, and numeric functions. It includes the
Chapter 7 covers the various conditional statements. This section discusses the
Chapter 8 discusses logical flow and program termination. It includes the
Chapter 9 covers table handling. This section tells how to create a table and reference it using subscripts or indexes. It discusses varying length tables, the
Chapter 10 provides information for sorting and merging files. This section includes the
Chapter 11 discusses how to call other programs in COBOL and other languages. It includes the
Chapter 12 discusses the library facility. This section covers the NotationStratus documentation uses computer font to represent text that would appear on your CRT screen or on a line printer. (Such text is referred to as literal text.) For example:
The
Slanted font is used to represent general terms that are to be replaced by literal values. In the following example, the term
The Italics are used for new terms when they are introduced and defined. For example: A sequential file consists of records that are stored consecutively and retrieved serially. Boldface is used to emphasize words within the text. For example: A switch is identified by its number and has an on and off position. Related ManualsRefer to the following Stratus manuals for related documentation. VOS COBOL Subroutines Manual VOS Commands Reference Manual VOS Commands User's Guide VOS COBOL Language Manual How to Comment on This Manual
You can comment on this manual by using the command Stratus welcomes any corrections and suggestions for improving this manual. |
|