The CMPSRCMBR command in TURNOVER® for iSeries v100 is your go-to utility for comparing two source members, whether you're validating changes, resolving merge conflicts, or auditing what’s been modified before promotion. Use this command to produce a report or an outfile containing the delta. It’s a cornerstone of TURNOVER’s source control toolkit, especially handy in collaborative or emergency change environments.
CMPSRCMBR compares two source members, producing a delta of the two members.
- Compares two source members line by line
- Highlights insertions, deletions, and modifications
- Generates a source compare report showing the differences
- Can be run interactively or submitted as a batch job
- Supports integration with TURNOVER forms, worklists, and history panels
It’s perfect for validating changes between:
- A production source and a development version
- Two versions of a member checked out by different programmers
- Pre- and post-refactor versions of RPGLE, CLLE, or DDS code
Typical Parameters
| Parameter | Description |
|---|---|
FROMSRCMBR | Name of the original source member |
FROMSRCFILE | Source file containing the original member |
FROMSRCLIB | Library where the original member resides |
TOSRCMBR | Name of the target (changed) source member |
TOSRCFILE | Source file containing the changed member |
TOSRCLIB | Library where the changed member resides |
OUTPUT | Choose between *PRINT, *DISPLAY, or *OUTFILE |
Where Else You’ll See It
TURNOVER integrates this utility in several places:
Option SC on the Form Maintenance and Worklist panels
Option 12 on the Object History panel
Emergency Change workflows, where comparing source is critical before merging

