View previous topic :: View next topic
|
Author |
Message |
Pinchoo
New User
Joined: 22 Nov 2005 Posts: 8 Location: hyderabad
|
|
|
|
I have four flat files with RECL 80, and i want to combine the records of all the four files into one. Threre's no key and no specific condition.. i just want the records of different files as columns of single file.
Input File 1:
Input File 2:
Input File 3:
Input File 4:
Output file should be
Code: |
A1 A2 A3 A4
B1 B2 B3 B4
C1 C2 C3 D4
D2 |
Thanks! in advance for helping
Code'd |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hello,
Is the output file like this
Code: |
A1 A2 A3 A4
B1 B2 B3 B4
C1 C2 C3 D4
D2 |
or like this?
Code: |
A1 A2 A3 A4
B1 B2 B3 B4
C1 C2 C3 D4
D2 |
Please use code tags. |
|
Back to top |
|
|
Pinchoo
New User
Joined: 22 Nov 2005 Posts: 8 Location: hyderabad
|
|
|
|
i am looking for ouput like the second option..
No reformatting required.. the records from the files as it is |
|
Back to top |
|
|
Pinchoo
New User
Joined: 22 Nov 2005 Posts: 8 Location: hyderabad
|
|
|
|
Code: |
**********************
A1 A2 A3 A4
B1 B2 B3 B4
C1 C2 C3 D4
D2
********************** |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
did You notice the formatting of the replies You received ???
learn to use the code tags
what is included in the code tags will be displayed with a fixed font and will preserve the spacing
5 blanks and XXXXX
without
12345
XXXXX
with
it will make easier for everybody to understand the record layouts |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Pinchoo,
Click the Code button, key or paste your data, click the Code* button, click Preview to see how it looks, click Submit when satisfied:
Code: |
**********************
A1 A2 A3 A4
B1 B2 B3 B4
C1 C2 C3 D4
D2
********************** |
|
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Click FAQ and read about BBCode. |
|
Back to top |
|
|
Pinchoo
New User
Joined: 22 Nov 2005 Posts: 8 Location: hyderabad
|
|
|
|
Thanks! i'll take care of this for future posts.. |
|
Back to top |
|
|
|