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
 

 

DFSORT returns SOC7 in sum

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
JAYANT KUMAR SAHOO

New User


Joined: 15 Mar 2006
Posts: 14

PostPosted: Fri Apr 14, 2006 4:32 am    Post subject: DFSORT returns SOC7 in sum
Reply with quote

Hi Techies
I need ur help asap.
I have a file with million records with a numeric field starting from 35 and length 10.
The field can hold data like
7.75
233792.4
4676
etc etc

That means fixed number along with number with decimal places can appear.The max decimal place can appear is 2.

If I am using a sort card like

TRAILER1=(1:TOT=(35,10,ZD,EDIT=(SIIIIIIIIII.II),SIGNS=(,-)))
I am getting a SOC7 abend as the decimal bit(ie . dot) is treated as a char(its my belief).

When I am discarding the decimal bit or just replacing with it a 0 the sort is working fine.

How can I get the sum with sort.
Please reply soon asap.

Tahnking u in advance.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Apr 14, 2006 4:49 am    Post subject:
Reply with quote

For those types of values, you need to use DFSORT's UFF format rather than DFSORT's ZD format. See the following for more information on DFSORT's UFF format:

www.ibm.com/servers/storage/support/software/sort/mvs/pdug/
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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