02.07.2013 Views

Type III C lass A Program

Type III C lass A Program

Type III C lass A Program

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.

WRTAPE<br />

Purpose:<br />

WRTAPE copies fixed-length format files from disk to tape·.<br />

If the filetype is LISTING, assembler and compiler<br />

carriage-control codes are translated to machine cod.es.<br />

Format:<br />

IWRTAPEI fname ftype<br />

fname ftype specifies the file to be copied.<br />

Usage:<br />

WRTAPE copies files from any disk to TAP1. Records are<br />

blocked in groups of ten" and the record format must be of<br />

fixed length less than 256 bytes. No end of file is written<br />

on the tape, and the tape is not rewound when the command<br />

completes.<br />

Although WRTAPE handles any file of the format described<br />

above. it is specially designed for LISTING files created by<br />

the ASSEMBLE and FORTRAN commands. These files contain a<br />

carriage control code for the offline printer as the first<br />

byte of each record. WRTAPE translates the code into a<br />

machine code for the printer. Files are written on the tape<br />

in the same format as if the ASSEMBLE command had been<br />

specified with the (LTAPn) option. This format is<br />

acceptable to the TAPRINT command.<br />

Notes:<br />

a. WRTAPE does not write an end of file on the tape on<br />

completion, nor does it position the tape past any existing<br />

files. Use the facilities of the TAPE command for<br />

positioning. To mark an end of file for TAPRINT, write two<br />

end-of-file marks .•<br />

h. Under CP. the tape must be attached by the operator.<br />

WRTAPE expects TAP1,. addressed at 180, which should be<br />

specified when you request the operator to attach the tape.<br />

c. Tape files written with WRTAPE are not suitable for<br />

rereading with TAPE LOAD.<br />

Responses:<br />

None.<br />

404 WRTAPE

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

Saved successfully!

Ooh no, something went wrong!