Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Using I/O facilities

Using data sets and files
Associating data sets with files under z/OS
Associating several files with one data set
Associating several data sets with one file
Concatenating several data sets
Accessing HFS files under z/OS
Associating data sets with files under z/OS UNIX
Using environment variables
Using the TITLE option of the OPEN statement
Attempting to use files not associated with data sets
How PL/I finds data sets
Specifying characteristics using DD_DDNAME environment variables
APPEND
BUFSIZE
CHARSET for record I/O
CHARSET for stream I/O
DELAY
DELIMIT
LRECL
LRMSKIP
PROMPT
PUTPAGE
RECCOUNT
RECSIZE
SAMELINE
SKIP0
TYPE
Establishing data set characteristics
Blocks and records
Information interchange codes
Record formats
Fixed-length records
Variable-length records
Undefined-length records
Data set organization
Labels
Data Definition (DD) statement
Use of the conditional subparameters
Data set characteristics
Using the TITLE option of the OPEN statement
Associating PL/I files with data sets
Opening a file
Specifying characteristics in the ENVIRONMENT attribute
The ENVIRONMENT attribute
Record formats for record-oriented data transmission
Record formats for stream-oriented data transmission
RECSIZE option
BLKSIZE option
Record format, BLKSIZE, and RECSIZE defaults
GENKEY option — key classification
SCALARVARYING option — varying-length strings
KEYLENGTH option
ORGANIZATION option
Data set types used by PL/I record I/O
Setting environment variables
PL/I standard files (SYSPRINT and SYSIN)
Redirecting standard input, output, and error devices
Using libraries
Types of libraries
How to use a library
Creating a library
SPACE parameter
Creating and updating a library member
Examples
Extracting information from a library directory
Defining and using consecutive data sets
Using stream-oriented data transmission
Defining files using stream I/O
Specifying ENVIRONMENT options
CONSECUTIVE
Record format options
RECSIZE
Defaults for record format, BLKSIZE, and RECSIZE
GRAPHIC option
Creating a data set with stream I/O
Essential information
Examples
Accessing a data set with stream I/O
Essential information
Record format
Example
Using PRINT files with stream I/O
Controlling printed line length
Overriding the tab control table
Using SYSIN and SYSPRINT files
Controlling input from the terminal
Format of data
Stream and record files
Capital and lowercase letters
End-of-file
COPY option of GET statement
Controlling output to the terminal
Format of PRINT files
Stream and record files
Capital and lowercase characters
Output from the PUT EDIT command
Using record-oriented data transmission
Specifying record format
Defining files using record I/O
Specifying ENVIRONMENT options
CONSECUTIVE
ORGANIZATION(CONSECUTIVE)
CTLASA|CTL360
LEAVE|REREAD
Creating a data set with record I/O
Essential information
Accessing and updating a data set with record I/O
Essential information
Example of consecutive data sets
Defining and using regional data sets
Defining files for a regional data set
Specifying ENVIRONMENT options
REGIONAL option
Using keys with REGIONAL data sets
Using REGIONAL(1) data sets
Dummy Records
Creating a REGIONAL(1) data set
Example
Accessing and updating a REGIONAL(1) data set
Sequential access
Direct access
Example
Essential information for creating and accessing regional data sets
Defining and using VSAM data sets
Using VSAM data sets
How to run a program with VSAM data sets
Pairing an Alternate Index Path with a File
VSAM organization
Keys for VSAM data sets
Keys for indexed VSAM data sets
Relative byte addresses (RBA)
Relative record numbers
Choosing a data set type
Defining files for VSAM data sets
Specifying ENVIRONMENT options
BKWD option
BUFND option
BUFNI option
BUFSP option
GENKEY option
PASSWORD option
REUSE option
SKIP option
VSAM option
Performance options
Defining Files for Alternate Index Paths
Defining VSAM data sets
Entry-sequenced data sets
Loading an ESDS
Using a SEQUENTIAL file to access an ESDS
Defining and loading an ESDS
Updating an ESDS
Key-sequenced and indexed entry-sequenced data sets
Alternate Indexes for KSDSs or Indexed ESDSs
Relative-record data sets
Using Files Defined for non-VSAM Data Sets
Using Shared Data Sets

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)