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 />

Using the ASSGN Statement<br />

The // ASSGN statement has two <strong>for</strong>mats:<br />

[//] ASSGN SYSnnn[,DUMMY]<br />

or<br />

// ASSGN SYSxxx,SYSyyy<br />

Format One<br />

The first <strong>for</strong>mat is shown below.<br />

[//] ASSGN SYS001[,DUMMY]<br />

This <strong>for</strong>mat makes the specified logical unit assignment to a dummy device.<br />

The logical unit assignment must be correctly made be<strong>for</strong>e opening the file,<br />

because some programs, such as <strong>CA</strong> SORT, can use either tape or disk<br />

devices. A dummy ASSGN satisfies this requirement, allowing AVR to be used<br />

at OPEN time. The default dummy devices are 7F0 through 7FF, but can be<br />

altered by changing the DYNAM/T option record. TDYNASN uses as many of<br />

these devices as are necessary. The dummy devices are in device-down<br />

(DVCDN) status and ownership bits are not set on. This prevents job control<br />

from ever trying to use such a device.<br />

Each dummy ASSGN statement generates an assignment to a different dummy<br />

device unless an UPSI 01 statement is present. In this case, all ASSGNs are<br />

made to the same device.<br />

You can normally use UPSI 01 to assign all LUBS to the same dummy PUB.<br />

However, this is not permitted with the MERGE and TP functions of <strong>CA</strong> SORT.<br />

They verify that all input files are assigned to different devices.<br />

Never use the // ASSGN SYSxxx,DUMMY <strong>for</strong>mat of TDYNASN <strong>for</strong> any program<br />

that does I/O on a tape file without opening it (such as DITTO).<br />

Examples:<br />

Assume DUMMY(7F0,7FF) set up in DYNAM/T option record<br />

// EXEC TDYNASN<br />

// ASSGN SYS001,DUMMY (would be assigned to 7F0)<br />

// ASSGN SYS002,DUMMY (would be assigned to 7F1)<br />

// ASSGN SYS003,DUMMY (would be assigned to 7F2)<br />

/*<br />

// UPSI 01 (make all assigns to same dummy device)<br />

// EXEC TDYNASN<br />

// ASSGN SYS001,DUMMY (would be assigned to 7F0)<br />

// ASSGN SYS002,DUMMY (would be assigned to 7F0)<br />

// ASSGN SYS003,DUMMY (would be assigned to 7F0)<br />

/*<br />

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

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

Saved successfully!

Ooh no, something went wrong!