Memorex LOCK - VERSION 2-24 Especificaciones Pagina 238

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 489
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 237
Multi-Dataset Processing Examples Processing Tape Datasets
7-18 User Reference
Multi-Dataset Processing Examples
The first example is one of the simplest possible situations for creating a multi-dataset group.
Your program creates datasets with different DTF names, but each DTF uses the same logical
unit. The datasets are controlled in the first step. They are created in the second step. The
second dataset on the tape is read in the third step. In the cataloging step, the prime dataset is
defined first. It is given a tape pool which applies to all its subdatasets. All other datasets are
defined with the NSU parameter, which makes them subdatasets. SUB1 and SUB2 have their
own retention parameters specified. SUB3 is assigned the BIM-EPIC system's default
retention. All datasets are defined with the user ID TS, so that they can be easily identified as
a group. The last dataset does not require the tape and drive to be held, nor does it require
dataset drop.
// JOB XYZ
*
* ----------------------------------------------------------+
* CATALOG A PRIME DSN AND THREE SUB DSN'S +
* ----------------------------------------------------------+
*
// EXEC TSIDMNT
CAT 'PRIME' CYC=2 UID=TS TPL=A
CAT 'SUB1' NSU='PRIME' RET=14 UID=TS
CAT 'SUB2' NSU='PRIME' CYC=3 UID=TS
CAT 'SUB3' NSU='PRIME' UID=TS
/*
*
* ----------------------------------------------------------+
* CREATE A PRIME AND 3 SUB DSN'S. PROGX PERFORMS 4 OPENS, +
* ONE EACH FOR TAPE1, TAPE2, TAPE3 AND TAPE4. +
* ----------------------------------------------------------+
*
// TLBL TAPE1,'PRIME',,,,,,75 64 + 8 + 3
// TLBL TAPE2,'SUB1',,,,,,75 64 + 8 + 3
// TLBL TAPE3,'SUB2',,,,,,75 64 + 8 + 3
// TLBL TAPE4,'SUB3',,,,,,65 64 + 1
// EXEC PROGX
/*
*
* ----------------------------------------------------------+
* READ FILE=2 ONLY +
* ----------------------------------------------------------+
*
// TLBL TAPEIN,'SUB1'
// EXEC PROGY
/*
/&
Code Action
1 Rewinds the tape (for the last dataset)
3 Inhibits rewind at close (for all but the last dataset)
8 Holds the drive assignment at close (for all but the last dataset)
64 Inhibits LUB allocation (for all datasets)
Example 1
Options Used
Vista de pagina 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 488 489

Comentarios a estos manuales

Sin comentarios