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
 
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 Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am

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