Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 4674
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1