Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
Posted: Wed May 09, 2007 6:41 am Post subject:
dhivya_tcs,
Quote:
Please help me to accomplish the following using JCL SORT.
it is never JCL anything. It can be DFSORT or SYNCSORT or some other 3rd party sorting tool.
are there any matching keys? are the number of records in file1 = num recds File2?
you simply want field 2 in file2 record num x to overlay field2 in file1 record num x
what happens when the number of records in each file is different.
are these large files? it might be faster to edit file 1, copy file 2 at the end, and using overlay (OO) line commands.
if you know ezytrieve or rexx that might be faster.
frank will come along and provide DFSORT guidance, Alissa for SYNCSORT. in the meantime, you might answer my questions for them. _________________ Dick Brenholtz
American living in Varel, Germany
Dick,
Thanks for the info. The number of records in both the files are the same. I just wanted to replace field 2 of file 1 with field 2 of file 2 for all the records.
Kolusu & Frank
Thanks for the help. I got what I needed.
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
Posted: Sat May 12, 2007 8:53 am Post subject:
dhivya_tcs,
I apologize to you and everyone else that I have criticized concerning JCL and terminology. I was at another ibm mainframe web site (this one proclaimed to be from India) looking at the available documentation and saw this exact terminology: JCL Utilities.
I can not hold you responsible for mis-information learned at a 'trusted' web site. _________________ Dick Brenholtz
American living in Varel, Germany
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum