Page 1 of 1

replace non-display characters in file

PostPosted: Thu Apr 10, 2008 11:57 am
by alf393
Hi, is there any way that I can replace all non-display characters in a dataset with spaces. I currently use Altseq, the problem is that it needs to run after every job and the way I use it, I replace only known characters. I am still relatively new to Iceman and have only used dfsort for the standard jobs. Thank you.

Re: replace non-display characters in file

PostPosted: Thu Apr 10, 2008 8:43 pm
by Frank Yaeger
It's not clear what you're asking. As you say, you can use TRAN=ALTSEQ to replace characters with spaces, but you need to specify the characters to replace. If you're asking if DFSORT can replace the characters you want to replace without you defining them, the answer is no. DFSORT does NOT know what characters you want to replace unless you tell it.

Re: replace non-display characters in file

PostPosted: Fri Apr 11, 2008 6:53 pm
by alf393
Hi Frank, thanks for the reply and sorry I was not very clear. The file that I generate could have different non-display characters each run. The altseq did work for my example file, but then I knew which values to replace.

Re: replace non-display characters in file

PostPosted: Fri Apr 11, 2008 8:55 pm
by Frank Yaeger
Do you still have a question? If so, what is it?

Re: replace non-display characters in file

PostPosted: Mon Apr 14, 2008 10:25 am
by alf393
Hi Frank, no I do not have any further questions. You answered it. Thank you very much for your help. Regards