Memorex LOCK - VERSION 2-24 Especificaciones Pagina 282

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 489
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 281
Concatenating Datasets Using BIM-EPIC's JCL Features
7-62 User Reference
The following example processes versions 1 through 5 of the DAILY.TRANS dataset on disk
with one open. It also processes WEEKLY.TRANS and WEEKLY.RERUN on tape with
another single open. Although there are mixed device types in the job, they are not mixed
within a single open, so they meet the requirements for concatenation.
// DLBL INPUT1,'DAILY.TRANS,(E,V=5)'
// DLBL INPUT1,'DAILY.TRANS,(E,V=4)'
// DLBL INPUT1,'DAILY.TRANS,(E,V=3)'
// DLBL INPUT1,'DAILY.TRANS,(E,V=2)'
// DLBL INPUT1,'DAILY.TRANS'
// TLBL INPUT2,'WEEKLY.TRANS',,,,,,48
// TLBL INPUT2,'WEEKLY.RERUN'
// EXEC PROGRAM
With DD statements: Concatenation is automatic for all versions of a single dataset on input.
Simply specify DSN=data.set.name without specifying a particular version. When all versions
of a single dataset are concatenated, datasets are read in order from the most current version to
the oldest.
In the following example, all versions of DAILY.TRANS are read with one open. For input
with different dataset names, request concatenation explicitly. Specify the version number of
each version to be read in the DSN parameter. Specify a ddname for the first statement only.
* //INPUT1 DD DSN='DAILY.TRANS',DISP=(OLD,KEEP)
The following example concatenates versions 1 through 4 of the DAILY.TRANS dataset and
version 1 of the DAILY.DEP dataset.
* //INPUT1 DD DSN='DAILY.TRANS(3)',DISP=(OLD,KEEP)
* // DD DSN='DAILY.TRANS(2)',DISP=(OLD,KEEP)
* // DD DSN='DAILY.TRANS(1)',DISP=(OLD,KEEP)
* // DD DSN='DAILY.TRANS(0)',DISP=(OLD,KEEP)
* // DD DSN='DAILY.DEP(0)'DISP=(OLD,KEEP)
// EXEC PROGRAM
Examples
Vista de pagina 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 488 489

Comentarios a estos manuales

Sin comentarios