i have a file with 300 record length.from Position 1 to 10 i have numeric values in that file.The first five bytes are having the different data and the last 5 bytes are having the values zeros(0).
Here the requirement is to mask the positions from 6 to 10(Zero values).
The mask should be with spaces.
Please let me know the way to achieve this using the SORT utility
If you want to overlay 6-10 in every record with blanks, you can use these DFSORT statements:
If you want to do something else, you need to explain more clearly what you want to do with an example of your input records and expected output records.
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from: