Problem solve Get help with specific problems with your technologies, process and projects.

Show level checks between libraries

Show level checks between files in different libraries.

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.

Run command

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.


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.

Dig Deeper on iSeries CL programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.