Start Data Stream Translation Session (QD0STRTS) API

  Required Parameter Group:


  Threadsafe: No

The Start Data Stream Translation Session (QD0STRTS) API initiates a session for data stream translation. Your application can start as many translation sessions as you need.


Authorities and Locks

Device Authority
The user must have at least *USE authority to the device specified in the display device name parameter.

Required Parameter Group

Translation session handle
OUTPUT; CHAR(16)

The name of the translation session. This name is supplied to your application so that you can keep track of a particular session. It is also required that you pass this name to the other data stream APIs.

Display device name
INPUT; CHAR(10)

The name of the 5250 device for which the translation is being done. The 5250 data stream that is generated depends on the capabilities of the display device. You can specify the following values:

Note: The full capabilities of the device can be determined only if a 5250 query has been sent to the device. The 5250 query is sent the first time a user signs on after the device is varied on. The results remain in effect until the device is varied off. If no one has signed on since the device was varied on, some of the characteristics will default to those assumed for *BASIC display devices.

Default screen size
INPUT; CHAR(10)

The size of the screen for the selected display device. Either this value or the alternate screen size value is used depending on the command used in the 3270 data stream. The possible screen sizes are:


Alternate screen size
INPUT; CHAR(10)

The alternate size of the screen for the selected display device. Either this value or the default screen size value is used depending on the command used in the 3270 data stream. The possible screen sizes are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V2R2

[ Back to top | Communications APIs | APIs by category ]