Re: XEDIT and non-printables
Code page 924 gives the following result (text-only viewers may not display correctly): --- | | 0 1 2 3 4 5 6 7 8 9 A B C D E F | | --- | 4 | â ä à á ã å ç ñ Ý . ( + | | 4 | | 5 | é ê ë è í î ï ì ß ! $ * ) ; ^ | 5 | | 6 | - / Â Ä À Á Ã Å Ç Ñ ? , % _ ? | 6 | | 7 | ø É Ê Ë È Í Î Ï Ì ` : # @ ' = | 7 | | 8 | Ø a b c d e f g h i « » ð ý þ ± | 8 | | 9 | ° j k l m n o p q r ª º æ ? Æ ? | 9 | | A | µ ~ s t u v w x y z ¡ ¿ Ð [ Þ ® | A | | B | ¢ £ ¥ · © § ¶ ? ? ? ¬ ? ¯ ] ? × | B | | C | { A B C D E F G H I ô ö ò ó õ | C | | D | } J K L M N O P Q R ¹ û ü ù ú ÿ | D | | E | \ ÷ S T U V W X Y Z ² Ô Ö Ò Ó Õ | E | | F | 0 1 2 3 4 5 6 7 8 9 ³ Û Ü Ù Ú ` | F | --- | | 0 1 2 3 4 5 6 7 8 9 A B C D E F | | --- 0x41 is a non-blank spacing character. 0x00-0x3F are reserved as 3270 control characters, in which only 0x05 (TAB) is displayable. If you do not expand tabs in XEDIT, it will be converted to a Field Mark (0x1E, overscore semicolon). All others in that range are converted to my NONDISP character (0x79, ` in this case). 0xFF is defined as non-displayable in the 3270 architecture and so is converted to NONDISP. Regards, Alan Alan Altmark Sr. Software Engineer IBM z/VM Development
Re: XEDIT and non-printables
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.
Re: XEDIT and non-printables
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
Re: XEDIT and non-printables
I have seen this before. The x'11' seems to be special 'sometimes'. I just tried it with x3270 and did not have a problem. The last time I hit it was many years ago about the time I was using either extra or a real 3270 device so I think it is hardware or emulator related. (I really think it was back on real hardware.) Tony Thigpen -Original Message - From: Ian S. Worthington Sent: 05/20/2008 10:48 AM 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.
Re: XEDIT and non-printables
Tony: FWIW, I seem to recall that emulator cards (IRMA) gave me a problem with x'11'. David Wakser -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Tony Thigpen Sent: Tuesday, May 20, 2008 12:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT and non-printables I have seen this before. The x'11' seems to be special 'sometimes'. I just tried it with x3270 and did not have a problem. The last time I hit it was many years ago about the time I was using either extra or a real 3270 device so I think it is hardware or emulator related. (I really think it was back on real hardware.) Tony Thigpen
Re: XEDIT and non-printables
Xedit will never send X'11' to a 3270 when present in data, everything below X'40' is replaced by the non-disp character. 3270 control characters do exist below x'40': Start field, Set Buffer address, .. But I don't know these by heart. 2008/5/20 Wakser, David [EMAIL PROTECTED]: Tony: FWIW, I seem to recall that emulator cards (IRMA) gave me a problem with x'11'. David Wakser -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Tony Thigpen Sent: Tuesday, May 20, 2008 12:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT and non-printables I have seen this before. The x'11' seems to be special 'sometimes'. I just tried it with x3270 and did not have a problem. The last time I hit it was many years ago about the time I was using either extra or a real 3270 device so I think it is hardware or emulator related. (I really think it was back on real hardware.) Tony Thigpen -- Kris Buelens, IBM Belgium, VM customer support
Re: XEDIT and non-printables
Checking my 3270 Reference Summary after blowing the dust off I see - x'11' is 'Set Buffer Address' - the next two bytes are the address on the screen where following characters are displayed. Kris Buelens wrote: Xedit will never send X'11' to a 3270 when present in data, everything below X'40' is replaced by the non-disp character. 3270 control characters do exist below x'40': Start field, Set Buffer address, .. But I don't know these by heart. -- Stephen Frazier Information Technology Unit Oklahoma Department of Corrections 3400 Martin Luther King Oklahoma City, Ok, 73111-4298 Tel.: (405) 425-2549 Fax: (405) 425-2554 Pager: (405) 690-1828 email: stevef%doc.state.ok.us
Re: XEDIT and non-printables
If you need to edit data with non-printables, ensure that you have IMAGE set to OFF - this will stop XEDIT from trying to treat occurrences of x'05' as TAB characters and x'16' as backspace characters. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Frazier Sent: Wednesday, 21 May 2008 5:16 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT and non-printables Checking my 3270 Reference Summary after blowing the dust off I see - x'11' is 'Set Buffer Address' - the next two bytes are the address on the screen where following characters are displayed. Kris Buelens wrote: Xedit will never send X'11' to a 3270 when present in data, everything below X'40' is replaced by the non-disp character. 3270 control characters do exist below x'40': Start field, Set Buffer address, .. But I don't know these by heart. -- Stephen Frazier Information Technology Unit Oklahoma Department of Corrections 3400 Martin Luther King Oklahoma City, Ok, 73111-4298 Tel.: (405) 425-2549 Fax: (405) 425-2554 Pager: (405) 690-1828 email: stevef%doc.state.ok.us
Re: XEDIT and non-printables
And don't forget 'SET CASE MIXED RESPECT' when editing binary data. /Tom Kern Gillis, Mark wrote: If you need to edit data with non-printables, ensure that you have IMAGE set to OFF - this will stop XEDIT from trying to treat occurrences of x'05' as TAB characters and x'16' as backspace characters. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Frazier Sent: Wednesday, 21 May 2008 5:16 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT and non-printables Checking my 3270 Reference Summary after blowing the dust off I see - x'11' is 'Set Buffer Address' - the next two bytes are the address on the screen where following characters are displayed. Kris Buelens wrote: Xedit will never send X'11' to a 3270 when present in data, everything below X'40' is replaced by the non-disp character. 3270 control characters do exist below x'40': Start field, Set Buffer address, .. But I don't know these by heart.
Re: XEDIT and non-printables
CASE MIXED IGNORE is as good 2008/5/20 Thomas Kern [EMAIL PROTECTED]: And don't forget 'SET CASE MIXED RESPECT' when editing binary data. /Tom Kern Gillis, Mark wrote: If you need to edit data with non-printables, ensure that you have IMAGE set to OFF - this will stop XEDIT from trying to treat occurrences of x'05' as TAB characters and x'16' as backspace characters. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Frazier Sent: Wednesday, 21 May 2008 5:16 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT and non-printables Checking my 3270 Reference Summary after blowing the dust off I see - x'11' is 'Set Buffer Address' - the next two bytes are the address on the screen where following characters are displayed. Kris Buelens wrote: Xedit will never send X'11' to a 3270 when present in data, everything below X'40' is replaced by the non-disp character. 3270 control characters do exist below x'40': Start field, Set Buffer address, .. But I don't know these by heart. -- Kris Buelens, IBM Belgium, VM customer support
Re: XEDIT and non-printables
Many thanks to all. Made appropriate changes to the profile and re-edited successfully this time. i