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

Using CMPPFM for more

Learn how you can use CMPPFM for more than just comparing source members.

I have found the CMPPFM command (Compare Physical File Member) to be useful for much more than comparing source members. I have been using it against data files to test my application program changes before rolling them into production. I run a test of the program(s) prior to my changes and copy the updated files to a temporary library. I then run the program(s) with my modifications included. Using the CMPPFM, I compare the files from before and after the changes to identify any fields or records that are different between the two versions of the program(s). Often, the only differences found are timestamp fields, which is to be expected in files where they exist. Any other differences are researched to identify potential bugs.


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