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: 6966
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: 7253

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 SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 4 Sat Jan 21, 2017 4:02 am
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am


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