How to use ASCII condition in DFSORT
Posted: Tue Sep 20, 2022 10:15 pm
Hi Team
My requirement is to do the following:
1. Take one long sequential record from mainframe file..
2. Read one character at a time, if > ASCII 127, ignore, else keep.
3. Extract each sequence of contiguous ASCII characters as a separate word.
4. Reconstruct all the words into a sentence with spaces in between and write the output.
5. The final output will be a dataset of lines with only ASCII words.
Is it possible to achieve this using DFSORT?
Thank You
Regards
Prasanna G.
My requirement is to do the following:
1. Take one long sequential record from mainframe file..
2. Read one character at a time, if > ASCII 127, ignore, else keep.
3. Extract each sequence of contiguous ASCII characters as a separate word.
4. Reconstruct all the words into a sentence with spaces in between and write the output.
5. The final output will be a dataset of lines with only ASCII words.
Is it possible to achieve this using DFSORT?
Thank You
Regards
Prasanna G.