Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us