FILESEEK changes the current file position associated with file x to
a new location within the file. The next operation on the file takes
place at the new location.
It also returns a FIXED BIN(31) value that is 0 if the change in file position is successful and non-zero otherwise.
FILESEEK is equivalent to the fseek function in C.
 >>-FILESEEK(x,y,z)---------------------------------------------><
|
- x
- File reference.
- y
- A FIXED BINARY(31) value that indicates the number of positions
the file pointer is to be moved relative to z.
- z
- A FIXED BINARY(31) value that indicates the origin from which
the file pointer is to be moved. The following values are valid:
- -1
- Beginning of the file
- 0
- Current position of the file pointer
- 1
- End of the file.
FILESEEK can be used only on TYPE(U) files.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)