6.5.1.2 Description

Set transaction input string just like you enter on a 3270 blank screen (ARTKIX__SET_TRAN_INIT_STR will convert this input string to 3270 data stream for you).

If you issue RECEIVE command after the call, RECEIVE can get the input data; if you do not issue RECEIVE command, the data stream is discarded when the transaction returns to ARTTCP.

pbuf
Input. The input string used to start the transaction. It should be ASCII encoded other than EBCDIC.
For example, If you type XXXX abcd1234 in 3270 console, XXXX is the transaction ID to be started, and abcd1234 is the input message. Therefore, XXXX abcd1234 should be passed with pbuf.
size
Input. Length of the input string.
aid
Input. The Action ID. It should be ASCII encoded other than EBCDIC. If aid is NULL, the aid DFHENTER will be used by default.