<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: @ changes to Ø in z/OS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224731#M40359</link>
    <description>Looks like you have bad EBCDIC - ASCII conversion table. You are getting '70'x instead of '7C'x. How are you connecting to the Z/OS machine? How did you create the program? Did you type it directly on the mainframe or upload from a PC or other ASCII host?</description>
    <pubDate>Wed, 09 Sep 2015 12:59:16 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-09-09T12:59:16Z</dc:date>
    <item>
      <title>@ changes to Ø in z/OS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224590#M40352</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I’m running SAS 9.1.3 SP 4 on z/OS (IBM Model 2827).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code is:&lt;/P&gt;
&lt;P&gt;%let a=test@test.com;&lt;/P&gt;
&lt;P&gt;%put &amp;amp;a;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the output/log looks like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3&amp;nbsp;&amp;nbsp; %let a=test@test.com;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp; %put &amp;amp;a;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;testØtest.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The @ sign is translated to Ø.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I avoid this?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 08:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224590#M40352</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-09-09T08:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: @ changes to Ø in z/OS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224731#M40359</link>
      <description>Looks like you have bad EBCDIC - ASCII conversion table. You are getting '70'x instead of '7C'x. How are you connecting to the Z/OS machine? How did you create the program? Did you type it directly on the mainframe or upload from a PC or other ASCII host?</description>
      <pubDate>Wed, 09 Sep 2015 12:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224731#M40359</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-09T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: @ changes to Ø in z/OS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224748#M40360</link>
      <description>&lt;P&gt;Thank you Tom,&lt;/P&gt;
&lt;P&gt;I just type it directly on the mainframe. (SAS interactive on mainframe)&lt;/P&gt;
&lt;P&gt;But in the batch (when I save the code in a sasinc file in order to call it with JCL and run it), I can see that @ have ‘80’x as HEX.&lt;/P&gt;
&lt;P&gt;Do you know any work around for this?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 13:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224748#M40360</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-09-09T13:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: @ changes to Ø in z/OS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224770#M40364</link>
      <description>I don't use Mainframes anymore so I am not sure where in the process your code is getting transcoded incorrectly. You could try creating the value using hex codes. '80'X in EBCDIC is the character you are seeing. SAS normally uses ASCII codes for variables so in ASCII you would want '40'X for '@'. So if could try creating the value from a data set with CALL SYMPUTX('A','test'||'40'x||'test.com'); Or you could try using '7C'x instead.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224770#M40364</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-09T15:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: @ changes to Ø in z/OS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224908#M40382</link>
      <description>&lt;P&gt;Thank you Tom.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We run with EBCDIC 1142.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc options option=encoding; run;&lt;/P&gt;
&lt;P&gt;gives:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;SAS (r) Proprietary Software Release 9.1 TS1M3&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ENCODING=EBCDIC1142&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Default encoding for external data&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;And according to this page &lt;A href="http://www.longpelaexpertise.com.au/toolsCode.php" target="_blank"&gt;http://www.longpelaexpertise.com.au/toolsCode.php&lt;/A&gt; and as you say the HEX code for @ should be ‘80’x&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but when I try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALL SYMPUTX('A','test'||'80'x||'test.com');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still get testØtest.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;‘7C’x gives the same testØtest.com ???!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I have to contact the people responsible for our SAS installation.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 06:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/changes-to-%C3%98-in-z-OS/m-p/224908#M40382</guid>
      <dc:creator>alr</dc:creator>
      <dc:date>2015-09-10T06:29:50Z</dc:date>
    </item>
  </channel>
</rss>

