Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello Sagar,
To do what you want for part 1 (removing unwanted characters), i'd suggest defining a field to "receive" the corrected string and initialize it to spaces. Then positon yourself at the beginning of the input field and the receiving field. If the current character is "good", move it to the receiving field and increment the position in both fields. If the current character is not "good" only increment the input field positon.
To define the good charactgers, i'd use something like:
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
OK Frank, I think mine is 2005....if you look at the top-line of the snapshot (code posted) of error encountered ...
Sagar,
I was just responding to your statement that "I think 'JFY' function is not supported by the vrsion of DFSORT/ISPF, is that the case?". For the record, I wanted to make it clear that DFSORT has supported JFY for a long time. Since Dick pointed out previously that you are using Syncsort, not DFSORT, I didn't see the need to repeat that, but maybe I should have.