View All Questions
Ask a New Question
Posted by Anurag - Comparing In Jcl :|
How to compare two rows in a input file through a SORT Step in JCL? The compare logic should be based on comparing 1 or 2 columns of both the rows.
to my knowledge sort is for sorting, not comparing files.
you should use comparex as that can be run from jcl also, that way you can compare 2 files programmatically but sort probably can't do that stuff
Frank Yaeger Says:
DFSORT and DFSORT's ICETOOL offer several methods for doing comparison, matches, joins, such as JOINKEYS, SPLICE, SELECT, etc. What you would use depends on what you are trying to do exactly.
For examples of this kind of thing, see the "Create files with matching and non-matching records" Smart DFSORT Trick at:
Frank Yaeger - DFSORT Development Team (IBM) - email@example.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Add your reply below ...
This site allows you to ask questions and get answers from various posters. You may also answer any posts if you feel like you have input to give.
Feel free to ask for help with any new question you wish, but most of the questions here are tech related. You will find many questions and answers
related to your Ipod or Ipod Nano, Itunes, audio and video converting, spyware or adware cleanup, pc or other computer questions, and even mainframe
questions. Although these are the tech questions most often asked, you will find help on almost any computer or software related subject. Feel free to
go to the main menu and review the posts already present, or feel free to ask your own question. (Some questions will be closed once the moderator
feels they are sufficiently answered and that no other input is needed).
See All Tips Iphone Apps