To allocate a data set, follow these steps:
- Make sure that you are connected
to the remote system and are working in the z/OS® Projects perspective.
- Select The MVS™ Files
subsystem or the MVS subproject
in which to allocate the PDS:
- In the Remote Systems view, expand the remote system where
you want to allocate the data set and select MVS Files.
- In the z/OS Projects
view, select an MVS subproject.
- Open the New Data Set wizard:
- In the Remote Systems view, right-click and click Allocate
Sequential Data Set or Allocate PDS.
- In the z/OS Projects
view, right-click and click New > Allocate Sequential Data
Set or New > Allocate PDS.
The rest of thee instructions use Allocate PDS as
an example.
- On the Allocate PDS page, do these tasks:
- Accept the name that is provided in the Host Short Name
field.
- Select the high-level qualifier for the data set from
the drop-down list.
- In the Data Set Name field, type the name that follows
the combination of high-level qualifier and period. For example, if
the high-level qualifier is MYFILES and if you
want to allocate the data set MYFILES.TEST.COBOL, specify
the string TEST.COBOL in the Data Set Name
field.
- Click Next.
- At the Data Set Allocation page, you indicate one of three
ways to begin specifying allocation values such as record format,
record length, and block size. You select one of three radio buttons:
- If you select Copy characteristics from an existing
data set, click Browse. At the
displayed window, expand the entry that identifies the high-level
qualifier, then click the name of a data set that can act as a model
for your new data set. To return to the Data Set Allocation page,
click OK or Cancel:
- To retain the name of the model data set, click OK;
or
- To avoid retaining any name when you return to the Data Set Allocation
page, click Cancel.
- If you select Specify characteristics by usage
type, you select a value from each of two list boxes:
- The Category list box indicates a kind
of content: Source, Listing, or Other
- The Type list box gives a further categorization;
within Source, for example, are COBOL, PL/I, ASM, REXX™, and JCL
- If you select Specify characteristics (advanced
allocation), the allocation values for you to customize
are the values that were most recently in place. Use this selection
after allocating the first in a series of equivalently structured
data sets.
- To display the Data Set Characteristics page (where you
set the actual allocation values), click Next.
- Specify the allocation values. For details on what values
are required for different uses, contact your z/OS system administrator. That administrator
can also inform you whether you need to click System Managed
Storage to assign a data set to a particular class. Rational® Developer
for System z® enforces certain
rules for record format (RECFM), record length (LRECL), and block
size (BLKSIZE). See Data set allocation rules for
information.
- To allocate the data set, click Finish.