[comp.os.vms] Datatrieve question

dfile@ecsvax.UUCP (Dean File) (12/31/87)

In interactive Datatrieve, when one forms a collection of records, there
is a statistical variable, COUNT, that contains the number of records
in the collection.  Is there a way, in "callable" Datatrieve, to get
this COUNT value passed to the calling program, where it could be used
as an integer variable?

It seems like this should be one of the uses of the DTR$INFO call, but
none of the info-code options seems to fit the bill.  I don't want to
have to pass the data records themselves into the calling program, just
the number of them in the collection.  I know that the Datatrieve
message, [n records found], can be passed, but that is not a value,
just a line of output.

Dean File
Lab for Computing and Cognition
UNC-CH School of Medicine
Chapel Hill, NC