Skip to main content
Hi Team,

Is there any documentation explaining the usage of "Diffutils". I see the installation bin folder is having 'cmp', 'diff', 'diff3' and 'sdiff' binaries.
Can we compare Z/OS files directly using Diffutils? Please help us to understand.

------------------------------
Sai Praneeth
Lead Consultant
Wipro Technologies
Chennai India
------------------------------
Hi Team,

Is there any documentation explaining the usage of "Diffutils". I see the installation bin folder is having 'cmp', 'diff', 'diff3' and 'sdiff' binaries.
Can we compare Z/OS files directly using Diffutils? Please help us to understand.

------------------------------
Sai Praneeth
Lead Consultant
Wipro Technologies
Chennai India
------------------------------

Hi Sai, 

These tools can be used for comparing USS files (the same way as on a Linux system), but they are not able to compare MVS datasets.

Thanks,
Sergey



------------------------------
Sergey Rezepin
Rocket Software
------------------------------

Hi Sai, 

These tools can be used for comparing USS files (the same way as on a Linux system), but they are not able to compare MVS datasets.

Thanks,
Sergey



------------------------------
Sergey Rezepin
Rocket Software
------------------------------
Got it. Thanks for the quick reply @Sergey Rezepin

------------------------------
Sai Praneeth
Lead Consultant
Wipro Technologies
Chennai India
------------------------------
Hi Team,

Is there any documentation explaining the usage of "Diffutils". I see the installation bin folder is having 'cmp', 'diff', 'diff3' and 'sdiff' binaries.
Can we compare Z/OS files directly using Diffutils? Please help us to understand.

------------------------------
Sai Praneeth
Lead Consultant
Wipro Technologies
Chennai India
------------------------------
Hi Sai Praneeth,

If you have bash installed, you can use the following command to diff datasets:
diff <(cat "//'DATA.SET(MEM1)'") <(cat "//'DATA.SET(MEM2)'")

Thanks,
Alexander