You can instruct CMS to translate non-printables: SET NONDISP " is the default. With this setting: when XEDIT encounters a " char in a position on a changed line, it keeps the non-printable if it was non-printable before, otherwise it becomes a ". Hence: if you delete of insert characters that make the " move, the non-printable is lost and replaced by a ". (a 3270 can't tell XEDIT what happened in a field, XEDIT can only know which fields got changed)
I also learned that this nice theory doesn't work if running with SET TEXT ON or SET APL ON, every non-printable becomes a " if you touch the line. Therefore: - avoid touching lines with non-printables - set the NONDISP character to something else than ", best a character you cannot type on the keyboard (and not a blank like you seem to have). 2008/5/20 Bob Bates <[EMAIL PROTECTED]>: > Depends on what you mean by "carefully". Whenever you overtype any > character on a line, the whole line is processed and many times > unprintable characters get translated. I learned EDIT (before there was > full screen) and I always resort to using "c/stringin/stringout/" > commands or "ALTER bytein byteout" commands when editing a file that has > unprintables in it. Just to be safe. > > > Bob Bates > Enterprise Hosting Services - Enterprise Virtualization - z/VM and > z/Linux > > w. (469)892-6660 > c. (214) 907-5071 > > "This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this for the > addressee, you must not use, copy, disclose, or take any action based on > this message or any information herein. If you have received this > message in error, please advise the sender immediately by reply e-mail > and delete this message. Thank you for your cooperation." > > > > -----Original Message----- > From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On > Behalf Of Ian S. Worthington > Sent: Tuesday, May 20, 2008 9:48 AM > To: IBMVM@LISTSERV.UARK.EDU > Subject: XEDIT and non-printables > > Whilst (carefully) xediting a file containing mixed printable and > non-printable characters I've found that certain x'11' characters have > been changed to x'40's. > > Any ideas what the cause might be would be most welcome. > > > ian > ... > > Ian S. Worthington, MBCS. > > me: http://isw.me.uk/ > photos: http://gallery.isw.me.uk/ > > Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et > dulcissimus pro patria biber. Ergo, bibiamo pro salute patriae. > -- Kris Buelens, IBM Belgium, VM customer support