Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-5
SAVEPOSITION Procedure
(Superseded by FILE_SAVEPOSITION_ Procedure)
Considerations
•
For relative and entry-sequence files that have no alternate keys. SAVEPOSITION 
requires a 7-word 
positioning-block if read-reverse is the current reading 
mode (see the KEYPOSITION[X] procedures). 
•
The SAVEPOSITION procedure cannot be used with format 2 files. If an attempt 
is made to use the SAVEPOSITION procedure with format 2 files, error 581 is 
returned. See the FILE_SAVEPOSITION_ Procedure
 for information on how to 
perform the equivalent task with format 2 files.
•
In files that support insertion-ordered duplicate alternate keys, each alternate key 
includes four additional words for a timestamp.
Example
CALL SAVEPOSITION ( FILE^NUM , POSITION^BLOCK );










