MPE/iX Intrinsics Reference Manual (32650-90905)
276 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
FSETMODE
1 Force the program to wait until the physical write operation is
completed (the record is posted)
(ASC) Not used for asynchronous serial devices.
(KSAM) Bit (14:1) only is returned. The possible values are:
1 Activate output verification:
All output to the file is verified as physically complete
before an FWRITE, FUPDATE, or FREMOVE intrinsic returns
control to the user. When a logical record is written, a CCE
(2) condition is returned.
0 Deactivate output verification:
Output is not verified.
13:1 Controls
issuing line feed to a terminal after each terminal read.
0
Issue a line feed at the completion of each read from a terminal.
1 Inhibit issuance of a line feed at the completion of each read
from a terminal.
(KSAM) Set this bit to zero.
12:1 Reporting tape device automatic error recovery
.
0 Do not report automatic error recovery on a tape device.
1 Report tape device automatic error recovery by returning CCL
(1) to FREAD and FWRITE.
This does not work on MPE/XL with SCSI DDS tape drives.
(ASC) Not used for asynchronous serial devices.
(KSAM) Set this bit to zero.
0:12
Reserved for the operating system
Operation Notes
There are two ways to service a program's write request to a file:
• In an order that maximizes overall system throughput, using the normal write queue.
• In the order that the program requested the writes, using the serial write queue. Write
requests placed on the serial write queue are guaranteed to be completed in
chronological order.
FSETMODE intrinsic fails with a CCL condition:
•If
filenum
references a byte stream file.
•IfFCHECK intrinsic is called to obtain the error code associated with a CCL condition
code.