Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NoNameTypeOptionalDefaultDescription
1cursorCursorPosNo-

Position on the screen from where the search starts

2lengthLongNo-

On success will contain the length of the field in characters. In the case of an error, the contents of this parameter are undefined

3

ft

FieldType

Yes

UNPROTECTED

Get the length of the next PROTECTED or UNPROTECTED field. The default is UNPROTECTED

Return Code

Description

JGS_OK

The field length was found

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_NOTCONNECTED

Your application is not connected to any valid session

JGS_POSITIONERROR

The specified position in the screen is invalid

JGS_SYSERROR

The function failed due to a system error

JGS_NOFIELD

The position was not inside a field, or the screen is unformatted

JGS_ZEROLENFIELD

The specified field has a length of 0

...