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