When using the IEBCOMPR utility to compare two datasets, they must have the same record length (LRECL) and compatible record formats (RECFM). The datasets do not need to be in the same library, on the same DASD volume, or share the same block size (BLKSIZE).