Query Additional Field Attribute (45)

Top  Previous  Next

The Query Additional Field Attribute function returns additional information about the 5250 field containing the input host presentation space position. This information is returned in the data string parameter in the form of a defined structure.

 

3270

5250

Yes

Yes

 

 

Prerequisite Calls

 

Connect Presentation Space (1)

 

 

Call Parameters

 

 

Standard Interface

Enhanced Interface

Function Number

Must be 45.

 

Data String

8 bytes long character string.

 

Length

8 is implied.

 

PS Position

Identifies the target. This can be the PS position of any byte within the target field.

 

 

The calling data string can contain:

 

Byte

Definition

1-8

Reserved

 

 

Return Parameters

 

This function returns a data string and a return code.

 

Data String

 

The function returns the following data string.

 

Byte

Definition

1-6

Reserved

7-8

Two 8-bit unsigned characters that return:  R if field is RTL and L if field is LTR.  U if field is upper case and L if field is a normal case field.

 

Return Code

 

The following return codes are defined:

 

Return Code

Explanation

0

The Query Additional Field Attribute was successful.

1

Your program is not currently connected to a host session.

7

The host presentation space position is not valid.

9

No field was found in this position.

24

Field is unformatted.