FPOSIT (XFILE)


9.0D

 

The FPOSIT instruction retrieves the current position of the recordset. The instruction uses the following format:

 

[label]

FPOSIT

{xfile},{offset}

 

Where:

label

Optional. A Program Execution Label.

xfile

Required. A previously defined and opened XFILE variable whose current position is returned.

offset

Required. A previously defined Numeric Variable in which the current position is returned.

Flags Affected: OVER, ZERO

Note the following:

  1. The result of this statement is compatible with the REPOSIT instruction.

  2. The current position remains unchanged.

  3. If the position is zero, the ZERO condition flag is set.

  4. If {offset} is not large enough to hold the position, the result is indeterminate and the OVER condition flag is set.

 

 

See Also: XML Support



PL/B Language Reference FLUSH (XFILE) GETFILE (XFILE)