|
On 6/30/2023 8:41 AM, tim ken wrote:
To get the references of all the objects i did DSPPGMREF (*ALL/*ALL)file
OUTPUT(*OUTFILE) OBJTYPE(*ALL) OUTFILE(Mylib/myfile)
So after executing the above command a outfile with name myfile in mylib
got generated but the problem is that in select SQL query from above
in 'WHLNAM'and
field library name coming incorrectly except for library names 'QTEMP'
'*LIBL'
Did I do something wrong here? Any suggestions on this please?
Why do you think WHLNAM is incorrect?
*all/*all is probably a very large file, if you have sufficient
authority when issuing DSPPGMREF. You might not have seen enough records
to judge that all of them are *LIBL or QTEMP. Try select * from
mylib.myfile where whlnam not in ('QTEMP', '*LIBL'); Let the machine do
some of the work. Consider select whlnam, count(*) from mylib.myfile
group by whlnam order by whlnam;
--
--buck
http://wiki.midrange.com
Your updates make it better!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.