
Copying and Merging Datasets (TSIDDTD)
8-18 User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
Examples The following example copies a controlled disk dataset to a controlled
tape dataset. TSIDDTD control statements are not required.
// JOB TSIDDTD COPY DISK TO TAPE
// DLBL INPUT,'input.data.set'
// TLBL OUTPUT,'output.data.set'
// EXEC TSIDDTD
/*
/&
The following example merges two input disk datasets and two input tape
datasets into a single output tape dataset. All of the datasets are
controlled. This example uses option code T (Drop) on the DLBL
statements. Use option code 16 (Drop) and option code 2 (Rewind) on the
TLBL statements.
// 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
/*
/&
SEL Specifies selection criteria for copying.
Subparameters are identical to FEOF
subparameters. If the data matches the expression,
the data is copied. If the data does not match the
expression, the data is skipped. If multiple
parameters are specified on a single control
statement, only another SEL parameter may follow
a SEL parameter. When any SEL condition is met,
the data is copied. A maximum of 20 SEL
parameters can be submitted per TSIDDTD
execution. If no SEL parameters are specified, all
data is copied.
When SEL is specified, all SEL subparameters are
required.
SKIP Specifies the number of records to skip before
beginning the copy operation.
UNLBLIN Defines the input as an unlabeled uncontrolled tape
dataset. UNLBLIN is not required if the dataset is
controlled.
UNLBLOUT Defines the output as an unlabeled uncontrolled
tape dataset. UNLBLOUT is not required if the
dataset is controlled.
Parameter Definition
Commentaires sur ces manuels