Stream I/O for TSO/E REXX

Автор: IBM

Дата: 2002

Скачать книгу в формате pdf с примерами.

Contents

About this book.
Relatedinformation.
How to send your comments .
Howtoreadthesyntaxdiagrams.
Chapter 1. Installing the function package .
Preparation .
Assembly, link-edit, and verification .
Installations with multiple function packages .
Usageconsiderations .
Chapter 2. Understanding the stream I/O concept .
ThebasicelementsofstreamI/O .
The TSO/E REXX Stream I/O implementation.
   ThestreamI/Ofunctions.
   Namingstreams .
   Transient and persistent streams .
   Opening and closing streams.
   Streamformats .
   Position pointer details .
   End-of-stream treatment .
   Errortreatments.
   Multiple read operations.
Chapter 3. Stream I/O functions.
CHARIN (Character Input) .
CHAROUT (Character Output) .
CHARS (Characters Remaining) .
LINEIN (Line Input) .
LINEOUT (Line Output).
LINES(LinesRemaining) .
STREAM (Operations) .
Chapter 4. Stream I/O messages .
Appendix A. JCL job MAKESIO.
Appendix B. Notices.
Trademarks .
Glossary of z/OS terms.

About this book

This book describes the z/OS TSO/E REXX Stream I/O function package and its usage. This function package is a collection of I/O functions that follow the
stream I/O concept. It extends and enhances the I/O capabilities of TSO/E REXX and shields the complexity of z/OS data set I/O to some degree. Further, the use of stream I/O functions provides for easier coding syntax and leads to better portability of REXX programs among different operating system platforms.

The function package can be used with TSO/E REXX on z/OS™, OS/390®, and MVS™ systems that provide the MVS Name/Token Services, which are required to hook the function package into an existing TSO/E REXX installation.

This book is intended for application programmers who want to apply the described functions to new or modified REXX programs. It is assumed that the reader is familiar with the REXX language, the TSO/E environment, and the logical organization of data sets in the z/OS environment. The stream I/O concept is introduced in “Chapter 2. Understanding the stream I/O concept” on page 5. If required, see also “Glossary of z/OS terms” on page 55.