|
Introduction
PCMPSRC compares two source members for differences. This is one
of the commands in our ISeries
utilities library (click this URL for full contact and pricing
details).
This compare ignores source line numbers and change dates i.e.
the compare is based only on the actual source code. If source differences are
detected, a report is printed showing the different source lines. The report
terminates after 50 different source lines have been reported.
The source members do not have to have the same number of
records. Any extra records in one member are matched (extra reads) when a
difference is detected.
If no differences are detected, no report is produced but a
message is sent saying that the source members are the same.
|
|
Examples
PCMPSRC FILE1(GLSRC/QRPGSRC) MBR1(GL010) FILE2(GLSRCOLD/QRPGSRC)
MBR2(GL010X)
Command above compares QRPGSRC source member GL010 in library
GLSRC to member GL010X in library GLSRCOLD. |
|
Restrictions
| 1) |
Source member records must be 92 bytes long i.e. as if
created with the CRTSRCPF command default RCDLEN(92). |
|
IBM rebranded the AS/400 - some users called it AS400 - to
ISeries several years ago. All 3 names - ISeries, AS/400, AS400 - refer to
exactly the same system. |