![]() |
![]() |
|
|
![]() |
![]() |
SNA IMF Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 Intrinsics Used with No-Wait I/O![]() IODONTWAIT |
|
For SNA IMF/V only. IODONTWAIT provides the status of a previous I/O operation.
Use IODONTWAIT with no-wait MPE V I/O. IODONTWAIT either tells your program that a previous I/O operation has completed, or it returns before completion. IODONTWAIT is also an MPE V and MPE XL intrinsic. See the MPE V Intrinsics Reference Manual or the MPE XL Intrinsics Reference Manual for more information. If you open an SNA IMF/V device, specifying no-wait I/O in your call to the OPEN3270 intrinsic, you must follow every RECV3270 and TRAN3270 request with a call to either IODONTWAIT or IOWAIT, before you can call any other intrinsic. You can delay the call to IODONTWAIT or IOWAIT as long as necessary to allow effective I/O and processing overlap. The IODONTWAIT intrinsic acts the same as IOWAIT with one exception: if your program calls IODONTWAIT, and no I/O has completed, control is returned to your program. (Condition code CCE is returned, and a zero is returned in the cstation parameter.) If your program calls IOWAIT, and no I/O has completed, your program is suspended until some I/O completes. You can call IODONTWAIT from programs written in SPL, COBOL II, Pascal, and FORTRAN. INTEGER PROCEDURE IODONTWAIT (FILENUM, TARGET, TCOUNT, CSTATION); INTEGER FILENUM,TCOUNT; LOGICAL CSTATION; LOGICAL ARRAY TARGET; OPTION VARIABLE; IODONTWAIT has a functional return, as shown below in the calling sequence. FNUM returns an integer that represents the terminalid for which the I/O operation completed. If no I/O completed, zero is returned in FNUM.
|
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|