
Copying and Merging Datasets (TSIDDTD)
8-14 User Reference
UNLBLIN defines the input as an unlabeled uncontrolled tape dataset (not required if the
dataset is controlled).
UNLBLOUT defines the output as an unlabeled uncontrolled tape dataset (not required if the
dataset is controlled).
This job copies a controlled disk dataset to a controlled tape dataset. No TSIDDTD control
statements are required.
// JOB TSIDDTD COPY DISK TO TAPE
// DLBL INPUT,'input.data.set'
// TLBL OUTPUT,'output.data.set'
// EXEC TSIDDTD
/*
/&
This job merges two input disk datasets and two input tape datasets to a single output tape
dataset. All of the datasets are controlled.
// JOB TSIDDTD MERGE 2 DISK AND 2 TAPE DATASETS TO A SINGLE OUTPUT
// DLBL INPUT,'input.data.set.1,(T)'
// DLBL INPUT,'input.data.set.2,(T)'
// TLBL INPUT,'input.data.set.3',,,,,,18
// TLBL INPUT,'input.data.set.4',,,,,,2
// TLBL OUTPUT,'output.data.set'
// EXEC TSIDDTD
INPUT=4
/*
/&
Note the use of the 'Drop' option (T) on the DLBLs and Drop (16) and Rewind (2) options on
the TLBLs.
This job makes a duplicate copy of a multi-file tape containing three datasets. All of the
datasets are controlled, so no control statements are necessary. TSIDDTD is executed three
times, once for each dataset. Note the use of the TLBL options 'Inhibit LUB allocation' (64),
'Hold assignment' (8) and 'No rewind' (3) on the first two TLBLs and then just 'Inhibit LUB
allocation' (64) and 'Unload' (2) on the last TLBL.
// JOB TSIDDTD COPY MULTI-FILE TAPE
// TLBL INPUT,'input.prime.dsn',,,,,,75
// TLBL OUTPUT,'output.prime.dsn',,,,,,75
// EXEC TSIDDTD
/*
// TLBL INPUT,'input.sub.dsn.1',,,,,,75
// TLBL OUTPUT,'output.sub.dsn.1',,,,,,75
// EXEC TSIDDTD
/*
// TLBL INPUT,'input.sub.dsn.2',,,,,,66
// TLBL OUTPUT,'output.sub.dsn.2',,,,,,66
// EXEC TSIDDTD
/*
/&
Example
Example
Example
Comentarios a estos manuales