I have a requirement as bellow -
1. file1 of 160 length
2. file2 of 7 length
3. file3 is required of 167 length
I have to append the record1 of file2 to the record1 of file1 i.e. the third file will have the record1 of file1 + record1 of file2
eg.
file1
12345
abcd
file2
999
xyz
12345
abcd
file2
999
xyz
then file3 should be as below-
file3
12345 999
abcd xyz
12345 999
abcd xyz
All thihs should be acheived through JCL/Sort.
Looking forward to your reply.