Show/Hide Toolbars

Flynet Viewer FlyHLLAPI

Use this to discover the length of a field on a formatted screen.

 

Data String: 2 character field with one of the following values:

 

[space][space]

Current Field for POS

T[space]

Current field

P[space]

Previous field, protected or not

N[space]

Next field, protected or not

NP

Next protected field

NU

Next unprotected field

PP

Previous protected field

PU

Previous unprotected field

 

PS Position:  location on the screen to check the field length, can be any position of the field

 

Returns

 

Data Length: length of the field unless return code is not WHLLOK

 

RetCode: WHLLNOFIELD: unformatted PS, WHLLZEROLENFIELD: zero-length field