Guardian Application Conversion Guide
Opening and Communicating With a High-PIN Server
Converting Pascal Applications
096047 Tandem Computers Incorporated 6–19
Sending a Request to a High-PIN Server
Your requester might send a request to a high-PIN server using the Guardian
WRITE[X] or WRITEREAD[X] procedure:
status := WRITEREADX (server_file_number,
sbuffer,
write_count,
read_count,
count_read);
Your Guardian WRITE[X] or WRITEREAD[X] procedure call should not require any
changes to send a request to a high-PIN server.
Closing a High-PIN Server
Your requester might close the server using the Guardian CLOSE procedure:
status := Guardian_CLOSE (server_file_number);
You can close a high-PIN server using either the Guardian CLOSE or FILE_CLOSE_
procedure:
error := FILE_CLOSE_(server_file_number);
Closing a High-PIN Server for a Backup Requester Process
Your requester might close the server for the backup process using the CHECKCLOSE
procedure:
status := CHECKCLOSE(server_file_number);
You can close the server for the backup process using either the Guardian CLOSE
procedure or the FILE_CLOSE_CHKPT_ procedure:
error := FILE_CLOSE_CHKPT_(server_file_number);