Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
7-17
POSITION
(Superseded by FILE_SETPOSITION_) Positions by primary key within relative and
entry-sequenced files. For unstructured files, it specifies a new current position. Use
KEYPOSITION with key-sequenced files.
POSITIONEDIT
Sets the next record number to a specified value for a specified file. POSITIONEDIT is
an IOEdit procedure and can be used only with files that have been opened by
OPENEDIT or OPENEDIT_.
9 Corrupt pool header.
11 Corrupt allocated blocks. Data is probably written beyond the allocated block.
12 Corrupt free list blocks. Data is probably written into a returned block.
13 Unable to shrink pool.
pool, INT .EXT:ref:* input
new-pool-size, INT(32):value input
CALL POSITION ( filenum ,record-specifier );
filenum, INT:value input
record-specifier, INT(32):value input
< (CCL) An error occurred (call FILEINFO).
= (CCE) POSITION was successful.
> (CCG) No operation; filenum does not designate a disk file.
error := POSITIONEDIT ( filenum
,record-number );
error, INT returned value
filenum, INT:value input
record-number, INT(32):value input