PLBCMP_FPOSIT Keyword


PLBCMP Only

PLBCMP_FPOSIT={ RMS | SDB }

 

This keyword modifies the behavior of the FPOSIT instruction as follows:

 

Mode

Specifies that ...

RMS

compiled programs using the FPOSIT instruction return the byte position of the beginning of the record. The default return value is the byte offset of the next byte to be read from the file.

SDB

compiled programs using the FPOSIT and REPOSIT instruction should be compatible with Datapoint Standard Databus. If this keyword is used, only the two operand form of the FPOSIT statement is allowed and the following restrictions apply:

 

1. If the file is specified as FIXED, the value returned by FPOSIT and expected by REPOSIT is the zero relative RECORD number.

 

2. If the file is specified as VARIABLE, the value returned by FPOSIT and expected by REPOSIT is the zero relative BYTE offset for the record.

 

 

See Also: PLBCMP Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLBCMP_EXT Keyword PLBCMP_INCEXT Keyword