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 Compare Source Members 1

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

ParameterDescription
FROMSRCMBRName of the original source member
FROMSRCFILESource file containing the original member
FROMSRCLIBLibrary where the original member resides
TOSRCMBRName of the target (changed) source member
TOSRCFILESource file containing the changed member
TOSRCLIBLibrary where the changed member resides
OUTPUTChoose 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

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>