Compare two PDSs to create another using JCL.
Posted: Thu Jun 18, 2015 8:59 pm
Hi,
Suppose PDS1 have 5 members M1, M2, M3, M4, M5 and PDS 2 have M4, M5, M6, M7, M8, M9, M10. I need to create 3rd PDS that should have all the members from PDS1 and PDS2 but no duplicate members so the PDS3 should have M1, M2, M3, M4, M5, M6, M7, M8, M9, M10. How can I do that?
Assume that duplicate members in PDS1 and 2 have same date so no harm in eliminating duplicates. Please guide me on this to create a JCL.
Thanks
Suppose PDS1 have 5 members M1, M2, M3, M4, M5 and PDS 2 have M4, M5, M6, M7, M8, M9, M10. I need to create 3rd PDS that should have all the members from PDS1 and PDS2 but no duplicate members so the PDS3 should have M1, M2, M3, M4, M5, M6, M7, M8, M9, M10. How can I do that?
Assume that duplicate members in PDS1 and 2 have same date so no harm in eliminating duplicates. Please guide me on this to create a JCL.
Thanks