View previous topic :: View next topic
|
Author |
Message |
umanaga
New User
Joined: 09 Apr 2007 Posts: 33 Location: India
|
|
|
|
I have a sample as below
cols 3-10 are 9(8) here
Code: |
TX00000002Ricob
NE00000019Albert Jame |
i want to convert to 9(6)V99
Code: |
TX00000200Ricob
NE00001900Albert Jame |
tried wth
Code: |
SORT FIELDS=COPY
OUTREC OVERLAY=(3:3,8,ZD,MUL,+100,TO=ZD) |
gettting o/p as
Code: |
TX0000000000000200Ricob
NE0000000000001900Albert Jame |
any help to replace original field itself.. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If you look in the manual, you'll find there is a default length for things.
If you don't want to use the default length (and even if you do), specify the length you want ie "LENGTH=n" or use an EDIT mask of an appropriate size and specification (for "display" output). |
|
Back to top |
|
|
umanaga
New User
Joined: 09 Apr 2007 Posts: 33 Location: India
|
|
|
|
thanks, using LENGTH in OVERLAY is working |
|
Back to top |
|
|
|