Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL522631-001
5-46
FILE_SETKEY_
The FILE_SETKEY_ procedure supersedes the KEYPOSITION[X] procedures. The
FILE_SETKEY_ procedure is used to position by primary or alternate key within a
structured file, and sets the current position, access path, and positioning mode for the
specified file. FILE_SETKEY_ can be used with format 2 files.
FILE_SETPOSITION_
The FILE_SETPOSITION_ procedure supersedes the POSITION procedure. This
procedure has the same function as the POSITION procedure but the
FILE_SETPOSITION_ procedure accepts an 8-byte record specifier, enabling use with
format 2 files.
error := FILE_SETKEY_ ( filenum
,key-value :key-value-len
,[ keyspecifier ]
,[ positioningmode ]
,[ options ]
,[ comparelength ] );
error, INT:value returned value
filenum, INT:value input
key-value:key-value-len, INT:value input, input
keyspecifier input
positioningmode, INT:value input
options, INT:value input
comparelength, INT:value input
error := FILE_SETPOSITION_ ( filenum
,recordspecifier );
error, INT:value returned value
filenum, INT:value input
recordspecifier, INT(64):value input