foffdb — Get file offset of dataset
subroutine foffdb(handle,name,offset) integer*4 handle character*(*) name integer*4 offset subroutine foffdb64(handle,name,offset) integer*4 handle character*(*) name integer*8 offset64
foffdb
returns the file offset ('file
address') of a dataset in integer*4 units ('words'), starting at
'word' address 1. It performs the same operation as function
prpdb
, except that is only returns the file
offset.
Warning | |
---|---|
(1) For compatibility reasons with
MemCom 6, |
handle
Database handle (input). The file handle
handle
may not exceed the maximum number of
simultaneously open databases.
name
Dataset name to be listed (input).
name
may be contain pattern-matching
characters. The string may not exceed the maximum dataset name
length.
offset
File offset ('file address') of a dataset in integer*4
units (output) foffdb
only. Upon
successful completion of the operation, the positive byte
offset returned. A negative value or 0 value indicates an
error.
offset64
File offset ('file address') of a dataset in integer*4
units (output), foffdb64
only. Upon
successful completion of the operation, the positive byte
offset returned. A negative value or 0 value indicates an
error.