Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (W-Z)
Guardian Procedure Calls Reference Manual—522629-013
16-33
WRITEUPDATE[X] Procedures
Example
CALL WRITEUPDATE ( TAPE^NUM , TAPE^BUF , NUM^READ , NUM^WRITTEN
);
The application makes the necessary changes to the record in TAPE^BUF, then edits
the tape by calling WRITEUPDATE. The tape is backspaced over the record just read,
then updated by writing the new record in its place. NUM^READ indicates the number
of bytes to be written (ensuring that the same number of bytes just read are also
written).
Related Programming Manuals
For programming information about the WRITEUPDATE file-system procedure, refer to
the
Enscribe Programmer’s Guide and the Guardian Programmer’s Guide.