View previous topic :: View next topic
|
Author |
Message |
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
Hi all,
Can One of you help me to achieve the solution for the task given below.
Need to covert a character feed to Number
the feed can have value say +123456789.67 or -123456789.25 etc... should convert these text values into a zoned decimal value or Packed decimal value(6 bytes).
can this be achived through DFSORT! Its really urgent..... |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
muthukumar
To get signs you have to use EDIT mask
and read the sort manual on this fine site. |
|
Back to top |
|
|
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
Hi Blue,
thanks for your response.. but i couldnt locate Sort manual in this - can you please help me to locate that
regards
Muthu |
|
Back to top |
|
|
muthukumar
New User
Joined: 24 Mar 2004 Posts: 29
|
|
|
|
k ..thx |
|
Back to top |
|
|
imvs
New User
Joined: 12 May 2004 Posts: 33
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
I started answering questions on this site after this question was posed. For the record, you can use DFSORT's SFF format in INREC, OUTREC or OUTFIL to convert this type of value (and many others) to various editted or numeric forms. For example:
Code: |
INREC FIELDS=(1,10,11:11,13,SFF,TO=PD,LENGTH=6,...)
|
For complete details on DFSORT's new SFF format, and all of the other new DFSORT and ICETOOL functions available with DFSORT's Dec, 2004 PTF, see:
Use [URL] BBCode for External Links |
|
Back to top |
|
|
|