IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Char to Numeric - conversion


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
picus_mf
Warnings : 1

New User


Joined: 09 Jun 2006
Posts: 52

PostPosted: Thu Mar 08, 2012 4:52 pm
Reply with quote

Hi,
I am trying to use the character data as numeric from the file I receive.
Code:

TOTAL LOSS IN -                           139,454.00-


The value always comes at column 41. My shop has SYNCSORT.
I could manage few things like converting from csv to regular flat file and removal of low-values to spaces. As this is a new requirement and there is no other business logic involved I am trying this in sort. Can you guide me to resolve this?

regards
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Mar 08, 2012 5:21 pm
Reply with quote

Since you have Syncsort, this should be in the JCL forum, not the DFSORT forum.

You have a Signed Free Format number. Look in your Syncsort manual for how to make that into the format you require. You can also do a search in the JCL forum for SFF to get some examples.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Mar 09, 2012 6:20 pm
Reply with quote

picus_mf wrote:
I am trying to use the character data as numeric from the file I receive.
Once the data is treated as "numeric", what is next? Are you done with it, at the moment?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts Exclude rows with > than x occurre... DFSORT/ICETOOL 6
No new posts file manager is doing string conversion IBM Tools 3
Search our Forums:

Back to Top