Member ERFASS (listed in the example on "Adding, correcting and assembling library source programs") and member EINAUS are compared. A comparison log is generated.
|
(1) | LMS is called. |
(2) | In addition to error messages, positive acknowledgments are also logged. |
(3) | Library BSP1.BIB is opened for reading and writing. |
(4) | File QUELL.EINAUS is added to the library as S-type member EINAUS. |
|
(5) | Member EINAUS is listed. |
|
(6) | The member ERFASS is listed. |
(7) | Members EINAUS and ERFASS are compared. The comparison log is to be output in its full scope. |
(8) | Start of comparison log:The log includes the values set for COMPARE, the names of the primary and secondary libraries, and the names of the primary and secondary members. |
(9) | The records with record IDs #1 through #7 are identical in both members. |
---------------------------------------------------------------------------------- INS. FROM #8 TO #14 --------------------------------------------------- (10) #8 > CLC TEXT(4),=C'/EOF'< #9 > BE ENDPGM< #10 > MVC ATEXT,TEXT< #11 > LH 9,SL< #12 > AH 9,=H'1'< #13 > STH 9,ASL< #14 > WROUT ASATZ,ENDPGM< -------------------------------------------- (11) ---------------------------------------------------------------------------------- SAME FROM #15 TO #19 AS FROM #8 TO #12 ---------------------- (12) #15 > PUT DATEI,SATZ < #16 > B LESEN< #17 >ENDPGM TERM< #18 >*< #19 >DATEI FCB FCBTYPE=SAM, LINK=DATEN< --------------------------------- (13) ---------------------------------------------------------------------------------- INS. #20 --------------------------------------------------------------- (14) #20 > DS OH< ------------------------------------------------------ (15) ----------------------------------------------------------------------------------
(08) –(21) Comparison log
(10) | Records #8 through #14 are present in the primary member only and are represented as INS(erted). |
(11) | Output of inserted records. |
(12) | Records #15 through #19 of the primary member are identical to records #8 through #12 of the secondary member. |
(13) | Output of identical records. |
(14) | Record #20 is present in the primary member only and is represented as INS(erted). |
(15) | Output of inserted record. |
SECONDARY= 14 SAME= 14 ( 4) ----------------------- (22) // end --------------------------------------------------------------------- (23) |
(16) | Record #21 of the primary member is identical to record #13 of the secondary member. |
(17) | Output of identical record. |
(18) | Records #20 through #28 are present in the primary member only and are represented as INS(erted). |
(19) | Output of inserted records. |
(20) | Record #29 of the primary member is identical to record #14 of the secondary member. |
(21) | Output of identical record. |
(22) | Result of the comparison; output of the number of records of the primary and secondary members, and of the number of inserted, identical and deleted records. The numbers in parentheses indicate how many continuous sections (consisting of consecutive records) have been inserted, identified as identical, or deleted. |
(23) | LMS is terminated. |