<?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: Migrating SAS code from PC SAS v8 to UNIX SAS v8 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57104#M12276</link>
    <description>While you are at it, consider moving up to a fully-supported and current SAS version, that being at least SAS v9.1.3 SP4 and possibly consider SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
Current SAS version information can be viewed at the links below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS® 9.2 Software&lt;BR /&gt;
Enabling more proactive and effective decision making&lt;BR /&gt;
&lt;A href="http://www.sas.com/software/sas9/" target="_blank"&gt;http://www.sas.com/software/sas9/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/software/index.html" target="_blank"&gt;http://support.sas.com/software/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/migration/" target="_blank"&gt;http://support.sas.com/rnd/migration/&lt;/A&gt;</description>
    <pubDate>Thu, 23 Jul 2009 16:12:04 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-07-23T16:12:04Z</dc:date>
    <item>
      <title>Migrating SAS code from PC SAS v8 to UNIX SAS v8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57100#M12272</link>
      <description>Hello SAS gurus,&lt;BR /&gt;
&lt;BR /&gt;
I am new to SAS but had done some programming in past; I am given a task to migrate SAS program written on PC SAS v8 to run under UNIX (HP-UX) SAS v8.&lt;BR /&gt;
&lt;BR /&gt;
As per SAS claim, codes should be compatible and only data requires some migration; I thought it will be easy job, but realized only after going in-depth in to migration.&lt;BR /&gt;
&lt;BR /&gt;
Approximately 2000 line PC SAS code is only reading permanent datasets and creating some output files (HTML); I have gone in and changed all references which were specific to PC, changed some excel files in to CSV files;  data reading is working fine.  &lt;BR /&gt;
&lt;BR /&gt;
BUT this code does a lot of data manipulation using DATA STEP MERGE, PROC SQL, PROC MEAN only in temporary datasets, create empty datasets, merge datasets with no observations.&lt;BR /&gt;
&lt;BR /&gt;
These steps work fine on PC SAS but are failing on UNIX especially when you merge multiple datasets with one without any observation.&lt;BR /&gt;
&lt;BR /&gt;
Please let me know if I am missing anything or if you have seen similar issues.&lt;BR /&gt;
&lt;BR /&gt;
I would really appreciate any tip;  I have been trying to fix but it is very tedious and time consuming.  Any trick or tip to trouble shoot real cause of this different behavior will be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
UBI</description>
      <pubDate>Tue, 21 Jul 2009 23:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57100#M12272</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-21T23:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating SAS code from PC SAS v8 to UNIX SAS v8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57101#M12273</link>
      <description>You will need to share exact SAS log output and executed code prior and at the error point in your SAS program.  Without this information, it's a guessing game to debug your error condition.  Reply to your post and paste the information (SAS code should be revealed for forum subscribers feedback).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 22 Jul 2009 00:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57101#M12273</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-22T00:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating SAS code from PC SAS v8 to UNIX SAS v8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57102#M12274</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
It is almost 1700 lines code; BTW, I have kind of figured out the issue.&lt;BR /&gt;
&lt;BR /&gt;
UNIX SAS in batch mode enters in to "Syntax Check" mode even on some of semantic error in SAS code and it will stop updating even temporary datasets.  As I didn't see SYNTAXCHECK option part of SAS program or in system config file, I was not aware of this behavior.&lt;BR /&gt;
&lt;BR /&gt;
I found this by running the same code in interactive mode, although program had some logical errors but it still got through.&lt;BR /&gt;
&lt;BR /&gt;
Any suggession or tip under this situation?  I think I can use NOSYNTAXCHECK as part of program to avoid entering to this mode but this option has some risks.&lt;BR /&gt;
 I know with this option, updates on datasets can be corrupted; but if we only read datasets, can this option be used safely?&lt;BR /&gt;
&lt;BR /&gt;
 Also how can we check or dump system options (default, set by system config file or set by program) and their status with in a program for debugging?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
UBI</description>
      <pubDate>Thu, 23 Jul 2009 15:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57102#M12274</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-23T15:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating SAS code from PC SAS v8 to UNIX SAS v8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57103#M12275</link>
      <description>You mentioned SAS errors/warnings/problems so you will need to share specifics, preferably from your SAS Log output just prior and up to the error condition - and maybe even just after as well.  For this, you will need to turn on OPTIONS SOURCE SOURCE2; and if you have macros or macro variables, add MACROGEN SYMBOLGEN MPRINT as well.&lt;BR /&gt;
&lt;BR /&gt;
It's a guessing game to respond to unidentified processing problems with specific details on symptoms.  Your other option is to contact SAS support and open a track to provide them problem/symptom details and look for guidance.&lt;BR /&gt;
&lt;BR /&gt;
You can use SAS PROC OPTIONS;  to display the current CONFIG options settings at any point in your SAS application code.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 23 Jul 2009 16:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57103#M12275</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-23T16:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating SAS code from PC SAS v8 to UNIX SAS v8</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57104#M12276</link>
      <description>While you are at it, consider moving up to a fully-supported and current SAS version, that being at least SAS v9.1.3 SP4 and possibly consider SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
Current SAS version information can be viewed at the links below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS® 9.2 Software&lt;BR /&gt;
Enabling more proactive and effective decision making&lt;BR /&gt;
&lt;A href="http://www.sas.com/software/sas9/" target="_blank"&gt;http://www.sas.com/software/sas9/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/software/index.html" target="_blank"&gt;http://support.sas.com/software/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/migration/" target="_blank"&gt;http://support.sas.com/rnd/migration/&lt;/A&gt;</description>
      <pubDate>Thu, 23 Jul 2009 16:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Migrating-SAS-code-from-PC-SAS-v8-to-UNIX-SAS-v8/m-p/57104#M12276</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-23T16:12:04Z</dc:date>
    </item>
  </channel>
</rss>

