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
 

 

Data conversion through Syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sreenigacc

New User


Joined: 16 Oct 2007
Posts: 15
Location: bangalore

PostPosted: Mon Dec 19, 2011 8:18 pm    Post subject: Data conversion through Syncsort
Reply with quote

Hi,

I have two varibales with data type as S9(6), S9(9)V99 and the data in input file is like this.

00000A 0000000047B
00000A 0000000046F
00000A 0000000088{
00000A 0000000084E
00000D 0000000110{
00000A 0000000015D
00000A 0000000016H

now i need the same data in displayable format.

output should be like this (values given below may not be correct)

000001 00000047.20
000001 00000046.60
000001 00000000.00
000001 00000084.40
000004 00000011.00

Sreenivasulu
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Dec 19, 2011 9:03 pm    Post subject:
Reply with quote

the sending fields are signed.

do you want to have unsigned or signed output?
Back to top
View user's profile Send private message
sreenigacc

New User


Joined: 16 Oct 2007
Posts: 15
Location: bangalore

PostPosted: Mon Dec 19, 2011 10:59 pm    Post subject:
Reply with quote

It will be great if i get the data with singns.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 19, 2011 11:03 pm    Post subject:
Reply with quote

So what have you tried for yourself so far, and what results did you get ?

Are you wanting to do this with sort or any other utility, if so which sort product and release level do you have installed.

If another utility / program, which one, or would it be user written ?

Come on now, give us some usefull information to try and work with here
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Dec 19, 2011 11:24 pm    Post subject:
Reply with quote

Hello,

Quote:
Come on now, give us some usefull information to try and work with here
As asked in the subject - how to do this with Syncsort.

Quote:
output should be like this (values given below may not be correct)
Why not ensure they are correct before posting? And yes, they are not correct.

What have you tried so far? Why is there a different number of output records than input? If there are processing rules, you have to post them.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Tue Dec 20, 2011 6:34 am    Post subject: Reply to: Data conversion through Syncsort
Reply with quote

It you do a BUILD with an edit MASK you should be able to get decimal places and signs for your fields.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 2 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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