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

Defining QSAM files using PL/I dynamic allocation

QSAM or HFS files can be defined using a DD statement, an environment variable, or the TITLE option of the OPEN statement.

When an environment variable or TITLE option is used, the name must be in uppercase. Specify the MVS data set in one of the following ways:

data-set-name must be fully qualified and cannot be a temporary data set; for example, it must not start with &.

Specify the HFS file as follows:

PATH (absolute-path-name)

The following attributes can be specified in any order after the DSN keyword:

NEW, OLD, SHR, or MOD
TRACKS or CYL
SPACE(n,m)
VOL(volser)
UNIT(type)
KEEP, DELETE, CATALOG, or UNCATALOG
STORCLAS(storageclass)
MGMTCLAS(managementclass)
DATACLAS(dataclass)
Note:
You cannot create a PDS or PDSE by using an environment variable or the TITLE option of the OPEN statement, but you can create a new member in an existing PDS or PDSE.

Terms of use | Feedback

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