Hi,
I am currently in the process of creating reports to determine tables that are (wrongly) stored in the schema area of a database. The data i want is available from the tabanalys command but its difficult to interpret into reports and takes forever.
I have managed to go through the VST's to get each _file from each _area, but i need to ignore _file where there are no records (as these for the time being can be kept here)
My code so far:
for each _area where _area._area-num = 6 no-lock:
for each _file where _file._ianum = _area._area-num no-lock:
display _file with 1 col width 200.
end.
end.
Could somebody point me in the right direction as to where i can get all _file where records exist?
Thanks in advance.
I am currently in the process of creating reports to determine tables that are (wrongly) stored in the schema area of a database. The data i want is available from the tabanalys command but its difficult to interpret into reports and takes forever.
I have managed to go through the VST's to get each _file from each _area, but i need to ignore _file where there are no records (as these for the time being can be kept here)
My code so far:
for each _area where _area._area-num = 6 no-lock:
for each _file where _file._ianum = _area._area-num no-lock:
display _file with 1 col width 200.
end.
end.
Could somebody point me in the right direction as to where i can get all _file where records exist?
Thanks in advance.