Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-31
POSITIONEDIT Procedure
POSITIONEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The POSITIONEDIT procedure sets the next record number to a specified value for a
specified file.
POSITIONEDIT is an IOEdit procedure and can only be used with files that have been
opened by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
•
CEXTDECS (through the included file TNSINTH) defines 32-bit values as the
typedef __int32_t which for TNS and TNS/R compiles is defined as long and for
TNS/E compiles is defined as
int.
Syntax for TAL Programmers
Parameters
error returned value
INT
returns a file-system error number indicating the outcome of the operation.
filenum input
INT:value
specifies the file number of the open file for which the next record number is to be
set.
#include <cextdecs(POSITIONEDIT)>
short POSITIONEDIT ( short filenum
,__int32_t record-number );
error := POSITIONEDIT ( filenum ! i
,record-number ); ! i