<?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: How to set the &amp;quot;charmultiplier&amp;quot; option for a PATH type caslib for loading SAS datasets in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852692#M1602</link>
    <description>&lt;P&gt;Some more info (on top of previous reply) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation | SAS 9.4 / Viya 3.5&lt;BR /&gt;Migrating to UTF-8&lt;BR /&gt;Migrating Data to UTF-8 for SAS® Viya® 3.5&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/titlepage.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/titlepage.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sun, 08 Jan 2023 12:40:24 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-01-08T12:40:24Z</dc:date>
    <item>
      <title>How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets to CAS?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852682#M1600</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAS Viya 3.5 and trying to load a SAS dataset created in encoding WHEBREW and copied &lt;EM&gt;&lt;STRONG&gt;as-is&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;(via WinSCP) to the SAS Viya server SPRE compute machine. If I use this code below then the load works fine to CAS and I can see the Hebrew text correctly in Viya:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* connect to CAS */
cas; 

/* create a caslib pointing to the sas7bdat file location */
caslib myCaslib datasource=(srctype="path") path="/tmp/sas94/data"; 

/* this sample uploads using a temporary caslib pointing to the sas7bdat file location */
/* the charmultiplier=2 is for Hebrew */
proc casutil; 
	load casdata="score.sas7bdat" incaslib="myCaslib" outcaslib="casuser" casout="score" 
	promote 
	importoptions=(filetype="basesas" &lt;EM&gt;&lt;STRONG&gt;charmultiplier=2&lt;/STRONG&gt;&lt;/EM&gt;);
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I would like to achieve the same by loading the dataset directly from the "Manage Data" UI in SAS Viya but that does not work. I get an error that the dataset cannot be transcoded. I cannot find a way to set the "charmultiplier=2" option in the UI when I define a new CASLIB of type "path". I also cannot find a way to set the&amp;nbsp;"charmultiplier=2" in the CASLIB statement when I define it in code. Anyone has any idea about it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 10:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852682#M1600</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2023-01-08T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852691#M1601</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13766"&gt;@EyalGonen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I also cannot find a way to set the&amp;nbsp;"charmultiplier=2" in the CASLIB statement when I define it in code. Anyone has any idea about it?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need (I think) the&lt;/P&gt;
&lt;DIV id="root"&gt;
&lt;DIV class="DocumentationLayout_documentation__3fEp-"&gt;
&lt;DIV class="DocumentationLayout_main__j6x2Z"&gt;
&lt;DIV class="DocumentationLayout_content__2ewLS"&gt;
&lt;DIV class="MainContentArea_main__2iNC3"&gt;
&lt;SECTION id="MainContentSection" class="MainContentArea_content__vW8W8" tabindex="0"&gt;
&lt;DIV class="MainContentArea_maxHeight__2WjaK" tabindex="-1"&gt;
&lt;ARTICLE id="document-content" class="Document_document__28cje"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV class="xisDoc-eDocBody"&gt;
&lt;DIV class="xisDoc-refBlock"&gt;
&lt;DIV class="xisDoc-syntax"&gt;
&lt;DIV class="xisDoc-syntaxDescription"&gt;
&lt;DIV class="xisDoc-optionalArgGroup"&gt;
&lt;DIV id="p0r8zzf0ws20bmn1clty0wsnob4o" class="xisDoc-argDescriptionPair"&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;DIV id="n0koszng7h859hn11k0ckty923gwa" class="xisDoc-argDescriptionPair"&gt;
&lt;H4 class="xisDoc-argument"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CVPMULTIPLIER=&lt;EM class="xisDoc-userSuppliedValue"&gt;multiplier&lt;/EM&gt;&lt;/H4&gt;
&lt;P&gt;on the LIBNAME statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME MyCAS cas caslib=ABCXYZ cvpmultiplier=2.5; /* or 2 in your case */
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I would first make sure you have everything correctly represented on a V9 library in SAS VIYA 3.5 (that's a directory path and *.sas7bdat file on your Linux / UNIX file system).&lt;BR /&gt;If you do not specify any engine on the LIBNAME statement , SAS defaults to the V9 engine.&lt;BR /&gt;Then upload in-memory (to CAS). CAS has much more data types than *.sas7bdat and internal conversions may be done in order to save space for example. These conversions should happen automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/ARTICLE&gt;
&lt;/DIV&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Jan 2023 12:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852691#M1601</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-01-08T12:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852692#M1602</link>
      <description>&lt;P&gt;Some more info (on top of previous reply) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation | SAS 9.4 / Viya 3.5&lt;BR /&gt;Migrating to UTF-8&lt;BR /&gt;Migrating Data to UTF-8 for SAS® Viya® 3.5&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/titlepage.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/viyadatamig/titlepage.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Jan 2023 12:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852692#M1602</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-01-08T12:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852693#M1603</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to load the "sas7bdat" file from the Viya UI in the so called "Manage Data" user interface. I want to right click on the "sas7bdat" file and select to Load it to CAS. This does not work for me due to transcoding errors. My question is how to set the "charmultiplier" option on the CASLIB itself (the CASLIB of type PATH that points to the "sas7bdat" files). Is this even possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 12:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/852693#M1603</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2023-01-08T12:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853014#M1610</link>
      <description>&lt;P&gt;Have a look here,&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casref/p0pkl5ltcloc5wn19ly0hohe4s9e.htm#n0vb0kkfvk0hi7n1fgzjoi5qfynb," target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casref/p0pkl5ltcloc5wn19ly0hohe4s9e.htm#n0vb0kkfvk0hi7n1fgzjoi5qfynb,&lt;/A&gt;&amp;nbsp;according to the doc it is possible to define the&amp;nbsp;CHARMULTIPLIER in the CASLIB statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an alternative: in the Data Explorer (Manage Data) go to the Data Sources tab, display all the files for the given caslib, use the right mouse button on a sas7bdat file and choose "Add to Import". You then go to the Import tab, for a .sas7bdat file you can specify the "Character multiplier"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bruno_SAS_0-1673339635281.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79215iD94E2AD64E9B1840/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bruno_SAS_0-1673339635281.png" alt="Bruno_SAS_0-1673339635281.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 08:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853014#M1610</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-01-10T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853015#M1611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am aware of the import option but I want to avoid it. I want to be able to right click on a "sas7bdat" file and select "Load" and it will automatically apply the "charmultiplier=2" to the load action. I need to test your suggestion about adding the charmultiplier to the caslib definition - I guess this should do what I want, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if it is possible to add the "charmultiplier" option to the CASLIB definition in the UI? I was unable to find any such option that worked...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 08:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853015#M1611</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2023-01-10T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853024#M1613</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried your suggestion and it seems like the CASLIB statement does not allow the "charmultiplier" option:&lt;/P&gt;
&lt;P&gt;:&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-inline" image-alt="EyalGonen_0-1673342439641.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79219iA379AB7F163722E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EyalGonen_0-1673342439641.png" alt="EyalGonen_0-1673342439641.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 09:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853024#M1613</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2023-01-10T09:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853053#M1614</link>
      <description>&lt;P&gt;I did some testing as well and encountered the same error messages.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did read through some more doc and found this:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casref/p0j7s6opsm8bbdn1edni5ngqdjyu.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casref/p0j7s6opsm8bbdn1edni5ngqdjyu.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It says:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN class="xisDoc-noteGenText"&gt;Note:&amp;nbsp;&lt;/SPAN&gt;You can specify data connector options for all data connectors except SAS Data Connector to PC Files or SAS Data Connector to SAS Data Sets. For these you would instead use IMPORTOPTIONS= to read data and EXPORTOPTIONS= to save data.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this means we can not specify the option while creating a caslib, but need to use it with every load operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe it is best to convert the SAS data sets to UTF8 and then copy them to the physical location of the caslib.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 12:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853053#M1614</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2023-01-10T12:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the "charmultiplier" option for a PATH type caslib for loading SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853194#M1616</link>
      <description>&lt;P&gt;I would suggest to add a new feature to allow specifying the CHARMULTIPLIER option for Base SAS datasets connector in CASLIB. I think it would be very useful.&lt;/P&gt;
&lt;P&gt;Thanks all for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 07:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-set-the-quot-charmultiplier-quot-option-for-a-PATH-type/m-p/853194#M1616</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2023-01-11T07:06:28Z</dc:date>
    </item>
  </channel>
</rss>

