Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-13
SAVEPOSITION
(Superseded by FILE_SAVEPOSITION_) Saves a disk file’s current file-positioning
information. The information is returned to the file system in a call to REPOSITION.
21 An invalid new-segment-size was specified.
24 The seg-id parameter specified a privileged segment ID (greater than 2047) and the
caller was not privileged.
29 A required parameter was not supplied.
43 Disk space could not be allocated to accommodate the new-segment-size
specified.
45 The existing permanent swap file for the extended segment is not large enough to back
up the requested new-segment-size.
segment-ID, INT:value input
new-segment-size, INT(32):value input
< (CCL) Indicates resource allocation failure.
= (CCE) Indicates that the segment was resized successfully; error contains 0.
> (CCG) Indicates that an error occurred; error contains the error value (the specified
extended segment was unaffected).
CALL SAVEPOSITION ( filenum
,positioning-block
,[ positioning-blksize ] );
filenum, INT:value input
positioning-block, INT:ref:* output
positioning-blksize, INT:ref:1 output
< (CCL) An error occurred (call FILEINFO).
= (CCE) SAVEPOSITION is successful.
> (CCG) The file is not a disk file.