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, |
handleDatabase handle (input). The file handle
handle may not exceed the maximum number of
simultaneously open databases.
nameDataset name to be listed (input).
name may be contain pattern-matching
characters. The string may not exceed the maximum dataset name
length.
offsetFile 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.
offset64File 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.