and after finding 1st occurrence of 2nd string It should simply stop, then display the string for which it didn't found match, hence I used ISRSUPC for first half, but it is not stopping after 1st match instead its searching all mems for both strings, hence please tell where I am wrong...
//NEWDD DD DSN=MY.PDS.NAME,DISP=SHR
//OUTDD DD SYSOUT=*
//SYSIN DD *
FMSTOP Immediately a difference is found between files, stops the compare with a return code of 1. This option provides a quicker way of telling if two files are different.