MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DFSORT/ICETOOL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ta0010274
Beginner


Joined: 08 Jan 2008
Posts: 8
Topics: 3

PostPosted: Sat May 09, 2009 6:48 am    Post subject: DFSORT/ICETOOL Reply with quote

Hi All,

I have a requirement, please help me. I have two files of each 10 byte fixed length records and i need to have a final file with the below required output. i.e. the final file should have the dat with first 10 bytes of file1 and first byte of second file.

File1:
AAAAAAAAAA
BBBBBBBBBB
CCCCCCCCC
DDDDDDDDD

File2:
1XXXXXXXXX
2YYYYYYYYYY
3ZZZZZZZZZ
4KKKKKKKKK

Final File(with 11 record length):
AAAAAAAAAA1
BBBBBBBBBB2
CCCCCCCCC3
DDDDDDDDD4

Thanks,
Thiru
Back to top
View user's profile Send private message  
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Sun May 10, 2009 4:54 am    Post subject: Reply with quote

ta0010274,

I don't see any common matching keys in either files. How does you related as to which value needs to be appended to file1 from file1?

Is it like the first record of file1 should take value the first record of file2 , the second record record of file1 should take value the second record of file2 and so on ?

If that is the case do we always have equal number of records in both files?

On second thoughts do you just want to append a 1 digit sequence number in pos 11 for file1?
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website  
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group