Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-32
POSITIONEDIT Procedure
record-number input
INT(32):value
specifies the value to which the file’s next record number is to be set. This value is
1000 times the EDIT line number of the intended record. You can specify -1 to
indicate positioning to the beginning of the file; you can specify -2 to indicate
positioning to the end of file.
Example
In the following example, POSITIONEDIT sets the next record number to indicate
line 500 in the specified file.
INT(32) next-record-number := 500000D;
.
.
error := POSITIONEDIT ( filenumber, next-record-number );
Related Programming Manual
For programming information about the POSITIONEDIT procedure, refer to the
Guardian Programmer’s Guide.