Skip to content

How to compare two data sets interactively

vlysynska edited this page Apr 28, 2021 · 3 revisions

How to compare two data sets interactively?

It is possible to compare two non-VSAM datasets interactively.

1. Go to one of the datasets in `edit` or `view` mode
2. Enter the command:
comp '#name of another dataset' excluded 

For instance, there are two datasets that differ in only one record.

member1

member2

Enter the command

command

We get the result

result

z/OS System operating

SMP/E

Mainframe automation solutions and best practices

z/OS DevOps scripts

RACF

REXX scripts

ISPF

HSM

Useful tricks

Batch jobs (JCLs)

z/OS System operating

z/OS Subsystem operating

Clone this wiki locally