|
Good morning, Steven. You may try as follows: /* produce a list of all QRYDFN objects */ DSPOBJD OBJ(*ALL/*ALL) OBJTYPE(*QRYDFN) + DETAIL(*FULL) OUTPUT(*OUTFILE) + OUTFILE(&LIB/QRYLIST) OUTMBR(*FIRST + *REPLACE) LOOP: RCVF MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(FINE)) IF COND(%SST(&ODOBNM 1 1) *NE ' ') THEN(DO) RTVQMQRY QMQRY(&ODLBNM/&ODOBNM) + SRCFILE(&LIB/QQRYSRC) + SRCMBR(&ODOBNM) ALWQRYDFN(*YES) CHGVAR VAR(&COUNT) VALUE(&COUNT + 1) ENDDO GOTO CMDLBL(CICLO) RTVQMQRY will extract the 'source' form qry. Sincerely Domenico Finucci Fiditalia , Milano, 02- 4301-2494
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.