Structure of the Field Information

The field information will be returned in the Fielddata member of the FINDFIELD_CF_TEXT structure as a string in the following formats.

For 3270:
"Formatted\t%01d\t%01d\t%01d\t%01d\t%04d\t%04d"
FA bit 2 Unprotected / Protected 0 or 1
FA bit 3 Alphanumeric / Numeric 0 or 1
FA bit 4–5 Intensity / High / Normal 1, 2 or 3
FA bit 7 Unmodified / Modified 0 or 1
Start Pos Field Start Position (excluding FA)  
Length Field Length (excluding FA)  
Note: FA = Field Attribute
For 5250:
"Formatted\t%01d\t%01d\t%01d\t%01d\t%01d\t%01d\t%04d\t%04d"
FA bit 0 Field Attribute Flag 0 or 1
FA bit 1 Invisible / Visible 0 or 1
FA bit 2 Unprotected / Protected 0 or 1
FA bit 3 Intensity Low/High 0 or 1
FA bit 4–6 Field Type
  • 0 = Alphanumeric
  • 1 = Alphabetic
  • 2 = Numeric Shift
  • 3 = Numeric
  • 4 = Default
  • 5 = Digits only
  • 6 = Mag-Stripe Reader Data
  • 7 = Signed Numeric
0 — 7
FA bit 7 Unmodified / Modified 0 or 1
Start Pos Field Start Position (excluding FA)  
Length Field Length (excluding FA)  
Note: FA = Field Attribute