There is no special routine to return a complete list of the variables present in a uv data set, however this information is present in the item ``vartable''. This is a text file with each line consisting of two fields separated by a blank. The first is the ``type'' (either a, r, d, c, i or j) of the variable, the second is the variables name. The following section of FORTRAN lists the variables present in a uv data set.
character var*12,name*(?)
integer iostat,tno,item
call uvopen(tno,name,'old')
call haccess(tno,item,'vartable','read',iostat)
call hreada(item,var,iostat)
dowhile(iostat.eq.0)
call output(var(3:10))
call hreada(item,var,iostat)
enddo
call hdaccess(item,iostat)
call uvclose(tno)
Miriad manager