This is a quick way to show level checks between files in different libraries, i.e. test data and live data. It can be all files or a subsets of files.
DSPFD FILE(LIVEDATA/*ALL) TYPE(*RCDFMT) OUTPUT(*OUTFILE) OUTFILE(YOURLIB/LIVE) where LIVEDATA is your live data library and LIVE is the name of the output file you want to create. Run the command again for your test data library to file TEST. Either use SQL or Query joining the files on live.RFFILE = test.RFFILE where live.RFID (Level ID) is NOT equal to test.RFID. e.g. for SQL select * from QTEMP/Live live join QTEMP/Test test on live.rffile = test.rffile where live.rfid < > test.rfid.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
This was first published in January 2003