
Using Concatenating Datasets
User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
7-67
In the following example, all versions of DAILY.TRANS are read with
one open. For input with different dataset names, request concatenation
explicitly. You must specify the version number of each version to be
read in the DSN parameter. Specify a ddname only on the first statement.
* //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
Comentarios a estos manuales