11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VIEW• $ZUTIL(96,14) Return current device type function• I/O Devices and Commands in <strong>Caché</strong> I/O Device Guide• Terminal I/O in <strong>Caché</strong> I/O Device Guide• Magnetic Tape I/O in <strong>Caché</strong> I/O Device Guide• Sequential File I/O in <strong>Caché</strong> I/O Device Guide• The Spool Device in <strong>Caché</strong> I/O Device GuideVIEWReads and writes blocks directly to disk storage and writes locations in memory.VIEW:pc viewargumentV:pc viewargumentwhere viewargument is:blockoffset:mode:length:newvalueArgumentspcblockoffsetmodelengthnewvalueOptional — An optional postconditional expression.A block location, specified as an integer.An offset, in bytes, from a base address within the memory regionspecified by mode.The memory region whose base address will be used to calculate thedata to be modified.The length of the data to be modified.The replacement value to be stored at the memory location.DescriptionThe VIEW command reads and writes blocks directly to disk storage and writes locationsin memory. VIEW has three argument forms:• VIEW block transfers data between the <strong>Caché</strong> database and memory.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 151

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

Saved successfully!

Ooh no, something went wrong!