Write Structured Fields (127)
3270 | 5250 | VT |
---|---|---|
Yes | No | No |
The Write Structured Fields function allows an application to write structured field data to the host application. If the call specifies S (for Synchronous), the application does not receive control until the Write Structured Fields function is completed. If the call specifies A (for Asynchronous), the application receives control immediately after the call. If the call specifies M, the application receives control immediately after the call. The application may wait for the message. In any case (S, A or M), the application provides the buffer address in which data to the host is to be placed.
For a successful asynchronous completion of this function, the following statements apply:
The return code field in the parameter list might not contain the results of the requested I/O. If the return code is not 0, then the request failed. The application must take the appropriate action based on the return code.
- Function request ID
- Address of the data string from the asynchronous request
- Length of the data string
- Return code of the completed function