Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
anshul_gugnani wrote:
Hello Frank,
Thanks, So the sort card which I posted for the above requirement is correct?
Anshul gugani,
There is a reason as to why a JOINKEYS solution isn't posted. If you have read OP's initial post , he mentioned that he does NOT have the latest PTF which supports Joinkeys. If you want a joinkeys solution open another topic and continue with your questions.
Gnana Sekaran Nallathambi wrote:
I need to get all the records from Input2 and if any record matches with input1, sum of last 3 bytes should be in output record.
ICETOOL is in my installation with ICE201I F RECORD TYPE ...
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
Gnana Sekaran Nallathambi,
You just can't apply the same logic of concatenating the header for every other requirement. In your first requirement you have both input files of the same LRECL and hence the header solution would be an optimal solution.
The second requirement is totally different. It deals with 2 different LRECL datasets and the output LRECL is also different. In this case the concatenating of header record solution is plain useless. Also notice how I used the referback to use the header dataset once again. Try to understand the JCL and change it according to your requirements.