View previous topic :: View next topic
|
Author |
Message |
johndhinagaran
New User
Joined: 09 Oct 2007 Posts: 2 Location: Chennai
|
|
|
|
Is there any keyword available for concatenation in easytrieve?
Input File:(LRECL 80)
------------------------
Apple
is a fruit
Expected output:(LRECL 160)
---------------------------------
Apple is a fruit
Note: Need to remove the trailing spaces in the first record |
|
Back to top |
|
|
johndhinagaran
New User
Joined: 09 Oct 2007 Posts: 2 Location: Chennai
|
|
|
|
I share it with you; it would be helpful for others.
We can use macro %CONCAT
syntax: %CONCAT <PART1> <N> <PART2>
<PART1> = Receiving field
<N> = No. of spaces inserted between two parts
<PART2> = part to be concatenated |
|
Back to top |
|
|
|