The Fine Manual wrote: The COMPARE command compares the file you are editing with an external sequential data set or member of a partitioned data set. Lines that exist only in the file being edited are marked, and lines that exist only in the file being compared are inserted as information lines in the file being edited. The command operates as a primary command or an edit macro command.
You can use the Delete and Make Data line commands to merge changes between files that are being compared.
The COMPARE function supports all line lengths, but some SuperC options are ignored for line lengths greater than 256 characters long.
When you are editing a cataloged data set, explicit data set names refer to cataloged data sets. However, if you are editing an uncataloged data set and specify only a member name, COMPARE searches for the member in the current uncataloged data set. For example, if you are editing an uncataloged data set called "userid.TEMP", then the command
first looks for member TEMP in the current, uncataloged data set, then looks for a cataloged data set named TEMP (TSO prefix rules apply). If it finds data set TEMP, and the data set being edited is a PDS member, then the same named member is searched for in data set TEMP.
[/url]z/OS ISPF User's Guide Vol II SC19-3628-00 wrote:
Code: Select all
//COMPARE EXEC PGM=ISRSUPC,PARM=('LINECMP,CHNGL,UPDCNTL') //STEPLIB DD DSN=ISPF.LOAD,DISP=SHR //NEWDD DD DSN=DLUDLOW.PDS(TEST1),DISP=SHR //OLDDD DD DSN=DLUDLOW.PDS(TEST2),DISP=SHR //OUTDD DD SYSOUT=A //DELDD DD DSN=DLUDLOW.UCTL1,DISP=OLD //SYSIN DD * CMPCOLM 5:27 /*
4,492,627 Page visitsPowered by phpBB® Forum Software © phpBB Limited