I was hoping to do it on the fly, but I think I'll have to hardcode the database names, repeat the code for each one, and do a for each as you suggest.
I was hoping to do it on the fly, but I think I'll have to hardcode the database names, repeat the code for each one, and do a for each as you suggest.
/* main.p */
do x = 1 to num-dbs:
run main.i string( ldbname(x) + "." ).
end.
/* main.i */
for each {1}_file where not(_hidden):
/* do stuff here */
end.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.