|
View previous topic :: View next topic
|
| Author |
Message |
radhakrishnan82
Active User

Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
I have a requirement below.
Input file 80char FB
Command ===>
| Code: |
=COLS> ----+----1----+----2----+----3
****** *****************************
000001 xxxxxxxx-01: 000001
000002 xxxxxxxx-02: 000002
****** **************************** |
Output file required 80 char FB
=COLS> ----+----1----+----2----+----3
****** *****************************
000001 xxxxxxxx-01: 000001 xxxxxxxx-02: 000002
****** ****************************
Can anyone please give me SORT step to acheive this. |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
look at posts by frank for the last month or so.
there is a new function in DFSORT that provides a solution for your problem.
actually, not a problem, your request.
your problem can only be solved by changing your habits. |
|
| Back to top |
|
 |
kratos86
Active User

Joined: 17 Mar 2008 Posts: 148 Location: Anna NGR
|
|
| Back to top |
|
 |
radhakrishnan82
Active User

Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
| RESIZE not accepted in my shop. My file has 80 char and the two rows which is having 20 char each in length. I want to write second record within 80 char position itself. Isnt possible. Not sure its an invalid question. |
|
| Back to top |
|
 |
fredrick andrews
New User

Joined: 10 Jun 2010 Posts: 52 Location: chennai
|
|
|
|
| This is covered in the Smart DFSORT Tricks pdf . |
|
| Back to top |
|
 |
radhakrishnan82
Active User

Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
| Thanks. It works gr8. cool tricks. |
|
| Back to top |
|
 |
|
|