Or you can try using aliases, like so:
DEFINE VARIABLE ix AS INTEGER NO-UNDO.
DO ix = 1 TO NUM-DBS:
CREATE ALIAS 'myalias' FOR DATABASE VALUE(LDBNAME(ix)).
RUN myprog.p.
DELETE ALIAS myalias.
END.
/* myprog.p */
FOR EACH myalias._File
WHERE...
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.