sort

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
tirupathi rao
Member
Posts: 4
Joined: Thu Feb 16, 2012 5:03 pm

sort

Post by tirupathi rao » Mon Mar 26, 2012 12:03 pm

Hi

I Have 10 Different I/P FILES...

Now i need to compare

1&2 gives the O/P in one file
3&4 gives the O/P in one file
5&6 gives the O/P in one file
7&8 gives the O/P in one file
9&10 gives the O/P in one file

I can compare these 10 files in different steps,

But i want to compare these 10 files in single step so it can reduce the Complexity some what...

Is there any way to this?

please help me..


thanks,
thiru

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Mar 26, 2012 2:46 pm

If we're talking about an appliation on zOS, comparing them in a single step might complex the things rather than making it easy from maintaince per se, I believe.
Regards,
Anuj

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Mon Mar 26, 2012 10:07 pm

I assume you are using SYNCSORT as yiou did not post in the DFSORT part of the forum. You should be able to do what you want using SYNCTOOL but as you only say 'compare' I do not know is ANY sort product can do what you want (but maybe superc in batch can?).
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Mar 28, 2012 3:39 am

If all of the compares ae the same except for the input and output dataset names, you could consider creating a small PROCedure and use symbolic parameters for the dataset names.

Dependng on exactly what you mean by "compare", SUPERC may be the utility to use.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others