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 in
the Remote System view or an MVS™ subproject
in the z/OS Projects view:
- 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 New
> Allocate Sequential Data Set or New > Allocate
Partitioned Data Set.
- In the z/OS® Projects
view, right-click and click New > Allocate Sequential Data
Set or New > Allocate Partitioned Data Set.
Note: You can also press Ctrl+1 to allocate
a new partitioned data set or Ctrl+2 to allocate
a new sequential data set.
The rest of these instructions
use New > Allocate Partitioned Data Set as
an example.
- On the Allocate Partitioned Data Set 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, specify
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.
- On the Data Set Allocation page, select
a radio button to indicate how to begin specifying allocation values
such as record format, record length, and block size.
- 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.