Is there a proutil option to list all the tables within all the schemas of an OpenEdge database

StackOverflow https://stackoverflow.com/questions/22838162

  •  26-06-2023
  •  | 
  •  

Question

I am trying to list the tables in each schema of an OpenEdge database.

I normally use dbutil -C tabanalys but on the system I am currently working on it is taking far too long to run (currently over 4 hours).

Does anyone know of a tool I can use in proEnv to get a list of the schemas and the tables within those schemas.

Dev tools not an option on this site..

Was it helpful?

Solution 2

I found a kind-of-way to do this but suspect it may not work in all scenarios...

I used the VIEWB2 option on proutil to list all the schemas (areas) and their objects. Note: this is in respect to Alternate Buffer Pool Processing and I'm not too sure what implications that may have but it worked for me.

proutil -C viewB2

OTHER TIPS

Not via proutil.

You would typically write a 4GL query to extract that info.

for each _file no-lock where _tbl-type = "t":
  display _file-name.
end.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top