Remove Leading Zeros using sort



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Remove Leading Zeros using sort

Postby storage » Fri Apr 23, 2010 9:22 pm

Hi,

Methods to remove leading zeros using sort.
Any help would be appreciated.


Thanks.
storage
 
Posts: 28
Joined: Tue Nov 11, 2008 3:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Remove Leading Zeros using sort

Postby Frank Yaeger » Fri Apr 23, 2010 9:32 pm

Your question is too vague. "Remove leading zeros" can mean many things.

Please show an example of the records in your input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input file.

(In the future, if you want a faster answer, I'd suggest spending more than 5 seconds composing the question. Include enough information with your first post so people know what you're trying to do. I'm happy to help, but I can't read your mind.)
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post