MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » February 2013

Re: QADBIFLD versus DSPFFD OUTPUT(*OUTFILE)



fixed

Robb, you mention a record level check with the outfile for DSPFFD. I ran into that with one of the QADB* files - I forget - but it's format was changed at 7.1

So I recommend SQL in either case. I think I found that the system catalog views did not give me what I needed for what I was doing, either, so I went directly to the QADB* files.

Vern

On 2/5/2013 2:07 PM, rob@xxxxxxxxx wrote:
About the only use for DSPFFD would be for display files and non DB stuff
like that. Granted, DSPFFD may be quicker from the command line than
entering the lookup into your favorite sql tool.

A drawback to DSPFFD OUTPUT(*OUTFILE) is, if you use RLA and not sql to
access the file, you could get a record level check with an OS upgrade.

Oh, and you may want to look at SYSCOLUMNS. It's a view over QADBIFLD.
Knowing the various SYS* views may be helpful if you hear someone talk
about one of these in a forum for SQL Server or any number of other
database products. You can use their same queries.

Check out
SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER,
NUMBER_DELETED_ROWS
FROM syspartitionstat
The short name for syspartitionstat is syspstat

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/db2/rbafzcatalog.htm


Rob Berendt






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact