Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

text to numeric conversion using DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 29

PostPosted: Mon Jun 28, 2004 9:05 am    Post subject: text to numeric conversion using DFSORT
Reply with quote

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
View user's profile Send private message

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 28, 2004 4:01 pm    Post subject:
Reply with quote

muthukumar
To get signs you have to use EDIT mask

and read the sort manual on this fine site.
Back to top
View user's profile Send private message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 29

PostPosted: Tue Jun 29, 2004 10:37 am    Post subject:
Reply with quote

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
View user's profile Send private message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 29

PostPosted: Tue Jun 29, 2004 4:59 pm    Post subject:
Reply with quote

k ..thx
Back to top
View user's profile Send private message
imvs

New User


Joined: 12 May 2004
Posts: 33

PostPosted: Tue Jun 29, 2004 11:53 pm    Post subject:
Reply with quote

muthukumar
check this site for publications on DFSORT

http://www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue May 03, 2005 1:49 am    Post subject:
Reply with quote

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:

www.ibm.com/servers/storage/support/software/sort/mvs/pdug/
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us