Convert it to sql and store in file. Then search it.. or view the source file. I use this to find fields or specific data inside the queries.. I hate looking at all of them to find what I’m looking for
QSYS/CRTSRCPF FILE(QTEMP/QDDSSRCT)
MONMSG MSGID(CPF0000)
QSYS/RMVM FILE(QTEMP/QDDSSRCT) MBR(*ALL)
MONMSG MSGID(CPF0000)
DSPOBJD OBJ(KEN/*ALL) OBJTYPE(*QRYDFN) +
OUTPUT(*OUTFILE) OUTFILE(QTEMP/QUERYOUT)
QSYS/RTVQMQRY QMQRY(&IN_ODLBNM/&IN_ODOBNM) +
SRCFILE(QTEMP/QDDSSRCT) ALWQRYDFN(*YES)
QSYS/FNDSTRPDM STRING(‘search string’) FILE(QTEMP/QDDSSRCT) +
MBR(*ALL) OPTION(*NONE) PRTMBRLIST(*YES)
Discuss This Question: 7  Replies