11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

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.

<strong>Caché</strong> <strong>ObjectScript</strong> CommandsCode-1-2-3-4-5-6-7-8-9-13FunctionBackspaceForward SpaceWrite Tape MarkWrite BlockRewindRead BlockRead LabelWrite HeaderLabelWrite EOF LabelRewind andUnloadEffectBackspaces tape one block. (Not supported for cartridgetape.)Advances tape one block (skipping labels) so that WRITE* 2 at the beginning of the tape (BOT) skips volume andheader labels as well as the first data block. (Notsupported for cartridge tape.)Writes a tape mark. If the buffer contains unwritten data,that data is written out first.Writes out the current buffer. If the format specifies labelsand the tape is at BOT, header labels of the appropriateformat are written before the data block.Rewinds the tape. Any unwritten data (in addition to trailerlabels and tape marks required by the format) is writtenbefore rewinding occurs.Reads the next block. If the tape is at BOT, skips headerlabels before reading.Reads the next block whether or not it is a label. (Notsupported for cartridge tape.)If the format specifies labels, writes header labels. If thetape is at BOT, writes a volume label before the headerlabels. (Not supported for cartridge tape.)Writes any unwritten data. If the format specifies labels,writes the appropriate trailer label. Writes two tape marksand backspaces over the second. (Not supported forcartridge tape.)For OpenVMS only: performs all the function WRITE *-5,then unloads the tape. This control lets you create anoutput set that spans more than one tape volume.When writing block-oriented data to magnetic tape, the $ZB special variable contains thenumber of bytes remaining in the I/O buffer. Refer to $ZB for further details.See Also• USE command170 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!