V S Amarendra Reddy
Active User
Joined: 13 Sep 2006 Posts: 216 Location: USA
|
|
|
|
Hi,
I have an input file and it is of VB format with 5000 LRECL. The record contains spaces and tab characters within the data.
The requirement is to remove the space or group of spaces if they end with a tab character. i.e. X'4005' should be replaced with X'05' and X'404005' also with X'05'. As long as there is a tab character in after one or more spaces, those all spaces need to be removed. However if the space or just spaces present without a tab character in the end, they shouldn't be removed.
Is it possible to do this using syncsort? |
|