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
 

 

How to get a 20digit sum in syncsort??

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

New User


Joined: 15 Mar 2006
Posts: 14

PostPosted: Tue Apr 04, 2006 3:06 am    Post subject: How to get a 20digit sum in syncsort??
Reply with quote

How to get the sum if the sum is a 20 digit no??
I am using in my jcl
TRAILER1=(1:TOT=(19,6,PD,EDIT=(SIIIIIIIIIIIII.II),SIGNS=(,-)))
I have to get the sum of the field from 19 to 24.

But this will only gives the resultant sum less than or equal to 15digit length.

I know this can be done with dfsort but how to achieve the same in syncsort.
My company use syncsort.

Please help.
Back to top
View user's profile Send private message

jasorn

Active User


Joined: 12 Jul 2006
Posts: 153
Location: USA

PostPosted: Wed Jul 12, 2006 5:31 pm    Post subject: Re: How to get a 20digit sum in syncsort??
Reply with quote

JAYANT KUMAR SAHOO wrote:
How to get the sum if the sum is a 20 digit no??
I am using in my jcl
TRAILER1=(1:TOT=(19,6,PD,EDIT=(SIIIIIIIIIIIII.II),SIGNS=(,-)))
I have to get the sum of the field from 19 to 24.

But this will only gives the resultant sum less than or equal to 15digit length.

I know this can be done with dfsort but how to achieve the same in syncsort.
My company use syncsort.

Please help.


AFAIK you can't do this in syncsort. PD is limited to 15 digits. So you have to use workarounds to handle this. Let me know if you find out there is a way to get syncsort to handle PD with more than 15 digits.
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 Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


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