Page 1 of 1

Remove Leading Zeros using sort

PostPosted: Fri Apr 23, 2010 9:22 pm
by storage
Hi,

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


Thanks.

Re: Remove Leading Zeros using sort

PostPosted: Fri Apr 23, 2010 9:32 pm
by Frank Yaeger
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.)