Guardian Application Conversion Guide
Opening and Communicating With a High-PIN Server
Converting C Applications
096047 Tandem Computers Incorporated 5–21
Sending a Request to a High-PIN Server
Your requester might send a request to a high-PIN server using the WRITE[X] or
WRITEREAD[X] procedure:
c_code = WRITEREADX (server_file_number,
sbuffer,
write_count,
read_count,
count_read);
Your 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 CLOSE procedure:
CLOSE (server_file_number);
You can close a high-PIN server using either the 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:
CHECKCLOSE (server_file_number);
You can close the server for the backup process using either the CLOSE procedure or
the FILE_CLOSE_CHKPT_ procedure:
error = FILE_CLOSE_CHKPT_(server_file_number);