User`s guide
3: File Transfer Interface (BSCFTI)
DC 900-1406E 61
3.5 BSCSAFE Procedure
Calling Sequence
ReturnCode = BSCSAFE (lnum, code)
Procedures Called
BSCRESET and BSCFWY
Functions
• If code is true, sends a Safe Store Acknowledgment to the ICP and waits for the
response.
• If code is false, sends a Safe Store Negative Acknowledgment to the ICP (no
response).
Arguments
lnum This is a pointer to an integer. It is a longword containing the link
number.
code This is an integer flag. If the flag is true, sends a Safe Store Acknowl-
edgment to the ICP and waits for response. If the flag is false, sends a
Safe Store Negative Acknowledgment (no response). A non-zero
value is treated as true.
Return Codes
See Table 5–2 on page 95 for full descriptions of the error return codes.
Success RCOK
Failure RCREJECT, RCNOSAFE, RCTO, RCQ_WWR, RCQ_RDTO
Unexpected ICP response failure codes (Table 5–3 on page 98)