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

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

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

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

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

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

// EXEC TDYNASN<br />

ASSGN SORTIN2,SYS003,INPUT<br />

ASSGN SORTIN4,SYS005,INPUT (Equated to SYS003)<br />

ASSGN SORTIN1,SYS002,INPUT<br />

ASSGN SORTIN3,SYS004,INPUT (Equated to SYS002)<br />

/*<br />

Option Four<br />

Locating all input files prior to sorting. This option would have to be used <strong>for</strong> a<br />

merge where all SORTIN tapes have to be opened at the same time, <strong>for</strong><br />

example,<br />

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

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

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

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

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

// UPSI 1<br />

// EXEC TDYNASN<br />

ASSGN SORTIN1,SYS002,INPUT<br />

ASSGN SORTIN2,SYS003,INPUT<br />

ASSGN SORTIN3,SYS004,INPUT<br />

ASSGN SORTIN4,SYS005,INPUT<br />

/*<br />

OPEN, CLOSE, DETACH, and VTSTOP Functions<br />

TDYNASN per<strong>for</strong>ms the OPEN and CLOSE functions so that <strong>CA</strong> <strong>Dynam</strong>/T can<br />

control tape files not opened and closed with tape DTFs. Use these functions to<br />

control SYSIPT, SYSLST, SYSPCH, and 1400 Emulator tapes.<br />

The OPEN and CLOSE commands have the same <strong>for</strong>mat as the ASSGN<br />

command. They are effective <strong>for</strong> single volume files only. Volume switching is<br />

not supported.<br />

OPEN Command<br />

The OPEN command does the folllowing:<br />

• Per<strong>for</strong>ms an actual open <strong>for</strong> the tape file<br />

• Invokes AVR to locate a valid scratch<br />

• Makes the assignment<br />

• Writes the header records on the tape<br />

• Leaves the tape positioned following the header records and tape mark<br />

Chapter 3: Supporting Tape File Management 3–5

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

Saved successfully!

Ooh no, something went wrong!