Versions Compared

Key

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

...

NoNameType

Optional

Default

Description

1

row

Variant

No

-

screen row from where the search starts. On output it will contain the starting row of the specified field if the function was successful else the contents will be unchanged

2

column

Variant

No

-

screen column from where the search start.  On output it will contain the starting column of the specified field if the function was successful; else the contents will be unchanged.

2

ft

FieldType

Yes

UNPROTECTED

Specify whether to get the position of the next PROTECTED or UNPROTECTED field.  The default is UNPROTECTED

Return Code

Description

JGS_OK

The field position was found

JGS_NOTCONNECTED

Your application is not connected to a valid host session

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_POSITIONERROR

The position specified is not valid

JGS_SYSERROR

The function failed due to a system error

JGS_NOFIELD

The specified field was not found or the screen is unformatted

JGS_ZEROLENFIELD

The length of the specified field is 0

...