For Programmers: Free Programming Magazines  


Home > Archive > Cobol > September 2004 > Re: Sort utility









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Sort utility
Frank Yaeger

2004-09-28, 3:55 am

sameer wrote:
> Hi
>
> I am using sort utility to drop duplicate along with summing one of
> the field. this is giving me correct sum but it is coming in signed
> field & not in decimal format. Does any one faced similar situation.
> Please let me know.


If you're using DFSORT, just add the followsing statement (b is for blank):

bbOPTION ZDPRINT

This will tell DFSORT to use an F sign for summed ZD values instead of a
C sign.

Frank Yaeger - DFSORT Team (IBM) - yaeger@us.ibm.com
Specialties: ICETOOL, OUTFIL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com