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.

Tape File Management Utilities<br />

Note: The ASSGN FILENAME,SYSNNN,OUTPUT function:<br />

• Should be avoided in a multiple-CPU environment sharing tape drives<br />

because it causes cross-AVR<br />

• Results in a <strong>CA</strong>DT010D message unless the DYNAM/T option record<br />

includes REUSE(YES) support<br />

SORTIN Files<br />

The case of Filename SORTINx is special. TDYNASN finds the specified data set<br />

<strong>for</strong> the first SORTINx ASSGN encountered. Then, an ASSGN <strong>for</strong> SORTIN2-9 is<br />

equated to the first SORTIN assignment. Any time SORTIN1 is encountered, it<br />

is assigned to the tape drive on which the specified data set is found. UPSI 1<br />

overrides this and causes actual assignments to be made <strong>for</strong> each SORTIN file.<br />

The following options provide a variety of methods <strong>for</strong> handling SORTIN files:<br />

Option One<br />

Using dummy ASSGNs to permit AVR when SORT needs each input file.<br />

Examples of this option are shown under Format One of "Using The ASSGN<br />

Statement."<br />

Option Two<br />

Using one tape drive <strong>for</strong> all SORTIN files, locating the drive with AVR. For<br />

example, in this case, an ASSGN is made to the same tape drive <strong>for</strong> each<br />

SORTIN file.<br />

// TLBL SORTIN1,'DSN A',,,,,,8<br />

// TLBL SORTIN2,'DSN B',,,,,,8<br />

// TLBL SORTIN3,'DSN C',,,,,,8<br />

// TLBL SORTOUT,'DSN D'<br />

// EXEC TDYNASN<br />

ASSGN SORTOUT,SYS001,OUTPUT<br />

ASSGN SORTIN1,SYS002,INPUT<br />

ASSGN SORTIN2,SYS003,INPUT<br />

ASSGN SORTIN3,SYS004,INPUT<br />

/*<br />

Option Three<br />

Alternating SORTIN files between two tape drives, locating the first two input<br />

files with AVR, as shown in the example below.<br />

The sequence of the ASSGN statements is critical; without UPSI 1, SORTIN2-9<br />

is equated to the first SORTIN encountered. An ASSGN <strong>for</strong> SORTIN1 is always<br />

made to the tape drive on which the correct data set is found. Any ASSGNs<br />

following SORTIN1 are equated to the same device unless UPSI 1 overrides<br />

them.<br />

3–4 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!