> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:ibm-m...@bama.ua.edu] On Behalf Of Matan Cohen > Sent: Monday, April 12, 2010 9:01 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: USS regular expression > > you are right i already start solving this problem from this > direction . > I'm working with code page "037 united state" on the emulation. > On OMVS I cant see LC_ALL variable only LANG=C. > I tried change the LC_ALL to En_US or even En_US.IBM-1047 but > it don't help. > changing the emulation code page to 1047 don't help either . > In both emulation code page I can't even type the chars "[" "]" . > any idea about further steps? >
Under both TSO/OMVS and telnet, I show LANG=C. I use Hummingbird as my TN3270 emulator. In the emulator, there is a "Host Code Page" which I have set to "English-US Latin 1 / Open Systems (1047)". I don't know what emulator you use, but I'd look there for the keyboard mapping. The TN3270 emulator is what does the EBCDIC<->ASCII translation, not the mainframe. When I do: echo '%' | od -tx1 I get: 0000000000 6C 15 You might want to try the above (cut'n'paste) and see what you get. If you get 6C, then I don't know why your grep is failing. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html