03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Changing File Characteristics<br />

Concatenated Data Sets<br />

<strong>CA</strong> <strong>Dynam</strong>/FI provides an input data set concatenation facility. This facility<br />

allows multiple input data sets to be read as if they were a single data set, in<br />

response to a single open issued by the application. Concatenation is invoked<br />

by specifying the CONCat option on the label of each data set which is to be<br />

concatenated.<br />

Multiple concatenated input files may be processed concurrently; that is, an<br />

application that issues opens <strong>for</strong> several different data sets may use<br />

concatenation <strong>for</strong> one or all of them. In the case of tapes, the data sets to be<br />

concatenated may be single file data sets or part of multifile data sets, and<br />

may each consist of a single or multiple volumes. Input data sets to be<br />

concatenated may have different attributes. Data sets may be concatenated<br />

without regard to disk or tape residence, varying record <strong>for</strong>mats, blocksizes, or<br />

logical units, as these attributes are resolved as part of normal <strong>CA</strong> <strong>Dynam</strong>/FI<br />

processing in a manner transparent to the application. The following sample<br />

JCL demonstrates concatenation:<br />

// JOB CON<strong>CA</strong>TEX<br />

/*<br />

/* PROCESS MONTHLY A/P TRANSACTIONS<br />

/*<br />

/* INPUT: 1 CON<strong>CA</strong>TENATED DATASET<br />

/* CONSISTING OF 2 TAPE DATASETS<br />

/* AND 2 DISK DATASETS<br />

/*<br />

// TLBL INPUT,'TRANS.TAPE.OLDEST',,CON<strong>CA</strong>T<br />

// TLBL INPUT,'TRANS.TAPE.OLDER',,CON<strong>CA</strong>T<br />

// DLBL INPUT,'TRANS.DISK.OLD',,,CON<strong>CA</strong>T<br />

// DLBL INPUT,'TRANS.DISK'<br />

// EXEC APMTHLY<br />

/&<br />

Where other <strong>CA</strong> <strong>Dynam</strong> products are installed, the concatenated data sets may<br />

be either controlled, uncontrolled, or a mixture of the two. All processing<br />

options supported by the other products in the <strong>CA</strong> <strong>Dynam</strong> family are supported<br />

<strong>for</strong> use in conjunction with concatenation.<br />

In addition, all versions of a particular data set may be read by using<br />

CON<strong>CA</strong>T=ALL or the first nn versions may be concatenated by using<br />

CON<strong>CA</strong>T=nn on the TLBL or DLBL.<br />

Additional Examples<br />

In this example, COBOL program COBTEST is originally written to read from a<br />

card reader (DTFCD) and write the output to a line printer (DTFPR). However,<br />

with <strong>CA</strong> <strong>Dynam</strong>/FI, the program will read from a tape file labeled '<strong>CA</strong>RD-<br />

INPUT' and write to a tape file labeled 'PRINT-OUTPUT'.<br />

6–24 <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!