Retrieves the last reference number written to or read from an RIS8.
Return value
Returns a non-zero reference number if successful and FAIL (or -1) otherwise.
Description
This routine is primarily used for attaching annotations to images and adding images to vgroups. DFR8lastref returns the reference number of last raster image set read or written.