Memorex LOCK - VERSION 2-24 Dokumentacja Strona 188

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 489
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 187
What to do for Different Types of Datasets DD Statements for Tape and Disk Datasets
6-10 User Reference
The following example shows a new, uncataloged dataset. It is automatically cataloged, and
the specified values for block size, period retention and density are entered in the dataset
definition.
* //TAPEOUT DD DSN=SARS.BACKUP,DISP=(NEW,CATLG),
* // DCB=(BLKSIZE=4080,DEN=3),LABEL=RETPD=7
To create a Start Track 1 dataset, use the SPACE parameter and specify a relative starting
address (SPACE=TRK, SPACE=CYL, or SPACE=alr). You must also use the VOLUME
parameter, to assign the dataset to a disk pool. Do not catalog the dataset or specify
DISP=(x,CATLG).
* //DISKOUT DD DSN=TWORK.BG,DISP=(NEW,PASS),
* // SPACE=(TRK,(10,5),RLSE),VOL=SER=POOL01,UNIT=DISK
To create an uncontrolled (non-VSAM) disk dataset, use the SPACE=ABSTR and VOL
parameters. No special parameters are required to create an uncontrolled tape dataset. Do not
specify DISP=(x,CATLG), or the dataset will be cataloged and therefore controlled.
To use BIM-EPIC DD statements for uncontrolled disk datasets, UNCDSK=YES must be
specified.
* //OPTOUT DD DSN=EPIC.LIBRARY,SPACE=(ABSTR,(100,20)),
* // DISP=NEW,VOL=SER=SYSWK1,UNIT=DISK
See the corresponding topics in "Types of Datasets".
To process a VSAM/SAM dataset, use the AMP, DISP, and SPACE parameters for both input
and output. You can use the VOLUME parameter to specify a disk volume. Identify the
VSAM catalog with a STEPCAT or JOBCAT DD statement.
In the following example, the STEPCAT DD statement defines the catalog for the
VSAM/SAM dataset. AMP=AMORG indicates that a VSAM or VSAM/SAM dataset is
being defined. DISP=SHR allows the dataset to be accessed by other programs as it is
processed. This example uses ALR to allocate space to the dataset: it indicates a record size
of 240 bytes and allocates a primary extent large enough for 1000 records and a secondary
large enough for 500 records.
* //STEPCAT DD DSN=CUSTOMER.CAT,DISP=SHR
* //VSAMSAM DD DSN=CUSTOMER.MASTER,DISP=SHR,AMP=AMORG,
* // SPACE=(240,(1000,500))
Start Track 1
Datasets
Example
Uncontrolled
Datasets
Configuration
Options
Example
Sequential and
Direct Access
Datasets
VSAM/SAM
Example
Przeglądanie stron 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 488 489

Komentarze do niniejszej Instrukcji

Brak uwag