<?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: Moving from HP-UX to Linux in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659190#M19221</link>
    <description>What happens if you move the WORK SAS data file to a different SAS library?  I am not sure you can have mixed SAS data files (little endian and big endian) in the same SAS library.&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Jun 2020 00:48:11 GMT</pubDate>
    <dc:creator>MargaretC</dc:creator>
    <dc:date>2020-06-16T00:48:11Z</dc:date>
    <item>
      <title>Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659163#M19215</link>
      <description>&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are moving our SAS server from HP-UX to Linux. Unfortunately, we don't have space to work with CPORT/CIMPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, we understand we need to recreate all index on Linux in order to work with the SAS datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We prepare a test and copy, through FTP, some files to the Linux server. In Linux we created a LIBNAME pointed to this copied files. The LIBNAME under SAS EG doesn't shows the tables with index but we could execute PROC CONTENTS on it without any problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried to execute PROC DATASETS to recreate the index for this tables, but an error appears because the procedure can't locate the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, we execute DATA / SET recreating the table on WORK. After that, we execute again DATA / SET copying from WORK to the LIBNAME. The process executes fine but we still can't see the table on the LIBNAME.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also tried to execute PROC COPY to WORK libname but the same error as we encounter on PROC DATASETS appears.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 23:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659163#M19215</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-15T23:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659183#M19216</link>
      <description>In order to recreate the index, you must convert the SAS data file from HP-UX format to Linux format.  This is what the CPORT/IMPORT does for you.  You can also copy the original HP-UX file to a new Linux file using a DATA step.  After you have the SAS file in native (Linux) format, you can recreate the index.  And apply custom formats to it.&lt;BR /&gt;Margaret&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659183#M19216</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2020-06-16T00:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659184#M19217</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp; - Am I correct in assuming that datasets without indexes show and read OK with a linux LIBNAME if copied via FTP from your Unix server? And that only datasets with indexes cause problems?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please remember if you FTP a SAS dataset with an embedded index definition then you will likely have problems with this on linux as no such index exists. Try removing the index from the dataset first before copying it with FTP and see if that works OK. Then recreate the index on linux and see if that works OK.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659184#M19217</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-06-16T00:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659187#M19218</link>
      <description>This will not work because you can only read SAS data files created in HP-UX on a Linux system.  It is because one is big endian and the other is little endian.&lt;BR /&gt;If you look at the SAS log you will see you are accessing the SAS data file on Linux via the Cross-Environment Data Access (CEDA) interface.  Details of CEDA can be found here:  &lt;A href="https://go.documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p0mvwvg25ceml5n1c2digfpk6vkh.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p0mvwvg25ceml5n1c2digfpk6vkh.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;Margaret&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659187#M19218</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2020-06-16T00:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659188#M19219</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;. As could see, the datasets with index or orders have the same behaviour. The files were copied using FTP, the index was copied too. We tried to delete the index file (through OS) but the same occurs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We know that we need to recreate the index on Linux. We also tried to recreate the datasets (using data step). The tables was created and we can open it from WORK (on Linux server) fine. After that, using again data step, we saved it to the original LIBNAME. According log, table was created but we still no seeing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659188#M19219</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-16T00:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659189#M19220</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1759"&gt;@MargaretC&lt;/a&gt;&amp;nbsp;, but if we execute a data step, we can able to open the dataset on WORK libname (under Linux server) without any problem. If we execute a data step again, reading from WORK libname to the original libname, according to the log information, process finish ok, but we can't see this datasets on the original libname. We tried to use OUTREP option but without any change on the behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659189#M19220</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-16T00:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659190#M19221</link>
      <description>What happens if you move the WORK SAS data file to a different SAS library?  I am not sure you can have mixed SAS data files (little endian and big endian) in the same SAS library.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659190#M19221</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2020-06-16T00:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659191#M19222</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1759"&gt;@MargaretC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try tomorrow (now I don't have access to the environment) and let you know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:55:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659191#M19222</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-16T00:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659583#M19223</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;&amp;nbsp;You've got already all the help you need so not adding to it but just asking questions:&lt;/P&gt;
&lt;P&gt;"&lt;EM&gt;Unfortunately, we don't have space to work with CPORT/CIMPORT.&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;If you've got the space on the target server to re-create the tables then can't you just go for multiple batches where you just cport/cimport some of the tables per batch.&lt;/P&gt;
&lt;P&gt;Also: Should you have SAS/Connect on both servers then using Proc Migrate would be another option.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 03:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659583#M19223</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-06-16T03:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659609#M19224</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp; - Agreed. The options suggested either CPORT/CIMPORT or SAS/CONNECT with PROC MIGRATE or PROC UPLOAD have already been made in previous posts by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36451"&gt;@MariaD&lt;/a&gt;. SAS/CONNECT is the better option for the OP as there is no need to create intermediate CPORT files and that would save space also.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I understand it PROC MIGRATE doesn't handle indexes but I'm pretty sure PROC UPLOAD does.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 04:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/659609#M19224</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-06-16T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660031#M19225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1759"&gt;@MargaretC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's really strange the situation. I recreated one of the tables with problem (change the name of the table too). And, as part of the test, I recreated one of the table with no problem too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I execute a PROC CONTENTS for both tables, the information are the same:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2020-06-16 at 10.22.08.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/43926i910D67F7DAB21E7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-06-16 at 10.22.08.png" alt="Screen Shot 2020-06-16 at 10.22.08.png" /&gt;&lt;/span&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2020-06-16 at 10.22.42.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/43929iA58EB43928999A60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-06-16 at 10.22.42.png" alt="Screen Shot 2020-06-16 at 10.22.42.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the second one (TEST table) I no able to see on the LIBNAME.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 13:37:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660031#M19225</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-16T13:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660045#M19226</link>
      <description>&lt;P&gt;PROC MIGRATE does handle indexes. The details for &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n1dvrc4he2d8s5n14rdg4twg7xgv.htm" target="_self"&gt;data sets&lt;/A&gt; says "&lt;SPAN&gt;Indexes and integrity constraints are rebuilt on the member in the target library." Here's some example code that uses SAS/CONNECT. Substitute your host name, port, user ID, password, and paths.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options comamid=tcp;
%let myserver=host.name.com;
signon myserver.__1234 user=userid password='mypw'; 

libname source 'source-library-pathname' server=myserver.__1234;
libname target 'target-library-pathname';

proc migrate in=source out=target &amp;lt;options&amp;gt;;
run;
signoff myserver.__1234;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jun 2020 14:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660045#M19226</guid>
      <dc:creator>maggiem_sas</dc:creator>
      <dc:date>2020-06-16T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660046#M19227</link>
      <description>Please open a SAS Technical Support track.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2020 14:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660046#M19227</guid>
      <dc:creator>MargaretC</dc:creator>
      <dc:date>2020-06-16T14:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660128#M19231</link>
      <description>&lt;P&gt;Thanks all, we finally discover the problem. Inside the directory, there was a file (not a SAS data sets) with an strange character (results of file with accents/latin characters). After we renamed the file, the problem was resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 17:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/660128#M19231</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2020-06-16T17:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Moving from HP-UX to Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/661699#M19242</link>
      <description>&lt;P&gt;It is not a good idea to have anything not created by SAS in a directory used as a SAS library.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 11:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Moving-from-HP-UX-to-Linux/m-p/661699#M19242</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-17T11:52:47Z</dc:date>
    </item>
  </channel>
</rss>

