Guardian Procedure Calls Reference Manual
Considerations
• The REPOSITION procedure cannot be used with files that are larger than approximately 2
gigabytes, including both Enscribe format 2 and OSS files. If an attempt is made to use the
REPOSITION procedure with these files, error 581 is returned. For information on how to
perform the equivalent task with files larger than approximately 2 gigabytes, see the
FILE_RESTOREPOSITION_ Procedure (page 502).
• Increased key limits for format 2 key-sequenced files are not supported
The REPOSITION procedure does not support the increased key limits for format 2
key-sequenced files (in H06.28/J06.17 RVUs with specific SPRs and later RVUs) because it
cannot handle keys longer than 255 bytes. If REPOSITION is passed a positioning-block
generated by SAVEPOSITION for a key-sequenced file with a key longer than 255 bytes, an
error 41 is returned. For information on how to perform the equivalent task for key-sequenced
files with keys longer than 255 bytes, see the FILE_RESTOREPOSITION_ Procedure (page 502).
REPOSITION Procedure (Superseded by FILE_RESTOREPOSITION_ Procedure) 1247