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: 6970
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: 8657
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: 7314

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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

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