<?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: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445892#M9700</link>
    <description>&lt;P&gt;cas casauto promotefmtlib fmtlibname=myCPSformats replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;format&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;wrk_auth &lt;SPAN class="s2"&gt;WRK_AUTH.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;load data=work.CPS_2008_2017 casout=&lt;SPAN class="s4"&gt;"CPS20082017_formatted"&lt;/SPAN&gt; replace;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s1"&gt;contents&lt;/SPAN&gt;&lt;SPAN class="s3"&gt; casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;SPAN class="s3"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;casutil&lt;/STRONG&gt;&lt;/SPAN&gt; outcaslib=&lt;SPAN class="s2"&gt;"CASDATA"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;promote casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s3"&gt; incaslib=&lt;/SPAN&gt;"CASDATA"&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 16:33:00 GMT</pubDate>
    <dc:creator>rjassem1</dc:creator>
    <dc:date>2018-03-15T16:33:00Z</dc:date>
    <item>
      <title>Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445822#M9694</link>
      <description>&lt;P&gt;&amp;nbsp;I'm adding user defined formats to a table in SAS Studio. The script runs with no errors&amp;nbsp;and a simple.freq command shows me that the formats have been applied. However, when I&amp;nbsp;load the table in SAS VA (Viya), I get an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"com.sas.cas.CASException: The user-defined programming statements could not be parsed. (severity=2 reason=6 statusCode=2710055) 5 ERROR: The user-defined programming statements could not be parsed. 5 ERROR: Invalid FORMAT 'CONTINUE_EDUC_FILTER.' found. 5 ERROR: Failure opening table 'CPS20082017_FORMATTED' 5 ERROR: The action stopped due to errors. debug=0x887ff837:TKCASTAB_PARSE_ERROR"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;There is nothing wrong with the&amp;nbsp;variable or the format and I can run a frequency in SAS Studio. I've used single quotes and double quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;value CONTINUE_EDUC_FILTER&lt;/P&gt;&lt;P&gt;0 = 'Total grad school - none' 1 = 'Total grad school (enrolled, planning, or pursuing)' ;&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;format continue_educ_filter CONTINUE_EDUC_FILTER.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445822#M9694</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445878#M9696</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198180"&gt;@rjassem1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have an access to the CAS server logs?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445878#M9696</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-15T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445884#M9697</link>
      <description>&lt;P&gt;I do not unfortunately.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445884#M9697</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445889#M9698</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198180"&gt;@rjassem1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok, questions for you. After you created your custom format in SAS Studio, have you loaded it to the CAS server?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445889#M9698</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-15T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445892#M9700</link>
      <description>&lt;P&gt;cas casauto promotefmtlib fmtlibname=myCPSformats replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;format&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;wrk_auth &lt;SPAN class="s2"&gt;WRK_AUTH.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;load data=work.CPS_2008_2017 casout=&lt;SPAN class="s4"&gt;"CPS20082017_formatted"&lt;/SPAN&gt; replace;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s1"&gt;contents&lt;/SPAN&gt;&lt;SPAN class="s3"&gt; casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;SPAN class="s3"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;casutil&lt;/STRONG&gt;&lt;/SPAN&gt; outcaslib=&lt;SPAN class="s2"&gt;"CASDATA"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;promote casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s3"&gt; incaslib=&lt;/SPAN&gt;"CASDATA"&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445892#M9700</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T16:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445896#M9701</link>
      <description>Does it have anything to do with me adding the formats to the WORK library to a table in the WORK library then promoting the formatted table to the cas library? I can't add the formats directly to a table in the cas library.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445896#M9701</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T16:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445899#M9702</link>
      <description>&lt;P&gt;Here is the actual code. I've cut back on the number of variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;cas&lt;/SPAN&gt; casauto sessopts=(caslib=&lt;SPAN class="s2"&gt;"casdata"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;format&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;library&lt;/SPAN&gt;=work.formats casfmtlib=&lt;SPAN class="s2"&gt;"myCPSformats"&lt;/SPAN&gt;;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;value&lt;/SPAN&gt; AGE_C&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'22 or younger'&lt;SPAN class="s6"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'23-24'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'25-27'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'28-30'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'31-34'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'35 or older'&lt;SPAN class="s6"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;value&lt;/SPAN&gt; COLLFILTER&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'Duplicate Case'&lt;SPAN class="s6"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'Primary Case'&lt;SPAN class="s6"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;value&lt;/SPAN&gt; $COMMENTS&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;'1'&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;' '&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;value&lt;/SPAN&gt; CONTINUE_EDUC_FILTER&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'Total grad school - none'&lt;SPAN class="s6"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; = &lt;/SPAN&gt;'Total grad school (enrolled, planning, or pursuing)'&lt;SPAN class="s6"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;value&lt;/SPAN&gt; WRK_AUTH&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'Yes'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'No'&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s7"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;'Unsure'&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;cas&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;session&lt;/SPAN&gt; casauto;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sessionProp.promoteFmtLib /&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;fmtLibName=&lt;SPAN class="s2"&gt;"myCPSformats"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;replace=true;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;cas casauto promotefmtlib fmtlibname=myCPSformats replace; &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;cas casauto savefmtlib&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;fmtlibname=myCPSformats&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;caslib=casdata&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;table=myCPSformats replace;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;casutil&lt;/STRONG&gt;&lt;/SPAN&gt;;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;format&lt;/SPAN&gt; &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;AGE_C &lt;SPAN class="s7"&gt;AGE_C.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;format&lt;/SPAN&gt; COLLFILTER &lt;SPAN class="s7"&gt;COLLFILTER.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;format&lt;/SPAN&gt; COMMENTS &lt;SPAN class="s7"&gt;$COMMENTS.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;format&lt;/SPAN&gt; continue_educ_filter &lt;SPAN class="s7"&gt;CONTINUE_EDUC_FILTER.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;format&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;wrk_auth &lt;SPAN class="s7"&gt;WRK_AUTH.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;load&lt;/SPAN&gt; data=work.CPS_2008_2017 casout=&lt;SPAN class="s2"&gt;"CPS20082017_formatted"&lt;/SPAN&gt; replace;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s4"&gt;contents&lt;/SPAN&gt;&lt;SPAN class="s6"&gt; casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;cas&lt;/STRONG&gt;&lt;SPAN class="s6"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;columninfo / table={name=&lt;SPAN class="s2"&gt;"CPS20082017_formatted"&lt;/SPAN&gt;}; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;&lt;STRONG&gt;casutil&lt;/STRONG&gt;&lt;/SPAN&gt; outcaslib=&lt;SPAN class="s2"&gt;"CASDATA"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;promote casdata=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s6"&gt; incaslib=&lt;/SPAN&gt;"CASDATA"&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt; &lt;STRONG&gt;cas&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;session&lt;/SPAN&gt; casauto;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;simple.freq /&amp;nbsp;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;inputs={&lt;/SPAN&gt;"profempl2013" "yearcode" "continue_educ_filter"&lt;SPAN class="s6"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;table={name=&lt;/SPAN&gt;"CPS20082017_formatted"&lt;SPAN class="s6"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p5"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN class="s6"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445899#M9702</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T16:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445900#M9703</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198180"&gt;@rjassem1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;promotefmtlib is good, but you have to run "proc format" before that to generate the SAS format table from your custom format catalog and generate the CAS format library from the SAS format table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=&amp;lt;YOUR_LIBRARY&amp;gt;.formats cntlout=formats_tab;
run;
proc format cntlin=formats_tab casfmtlib="USERFORMATS1";
run;
cas mysession promotefmtlib fmtlibname=USERFORMATS1 replace;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445900#M9703</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-15T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445967#M9707</link>
      <description>&lt;P&gt;I may be doing something wrong. I tried adding the other proc format statements and I see formats_tab but it's still the same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 19:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445967#M9707</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-15T19:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445971#M9709</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198180"&gt;@rjassem1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should work. Try to reach your SAS administrator and get the most recent CAS server log.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 19:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/445971#M9709</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2018-03-15T19:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/448167#M9747</link>
      <description>&lt;P&gt;I still get the same error and it continues even if I remove the formatted variables causing a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;com.sas.cas.CASException: The user-defined programming statements could not be parsed. (severity=2 reason=6 statusCode=2710055) 5 ERROR: The user-defined programming statements could not be parsed. 5 ERROR: Invalid FORMAT 'CONTINUE_EDUC_FILTER.' found. 5 ERROR: Failure opening table 'CPS20082017_FORMATTED'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it have something to do with where&amp;nbsp;the&amp;nbsp;formats are?&amp;nbsp; I'm running the results from the cas library not the WORK library and I'm promoting the library but I don't see it in a cas library. I don't get an error either.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 14:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/448167#M9747</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-23T14:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Working with User-Defined Formats with SAS Cloud Analytic Services and SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/449956#M9792</link>
      <description>&lt;P&gt;It turned out that I was saving the format file as MyCPSFormats and the SAS VA was looking for userformat1. I thought userformat1, userformat2 were examples not the default names.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 15:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Working-with-User-Defined-Formats-with-SAS-Cloud-Analytic/m-p/449956#M9792</guid>
      <dc:creator>rjassem1</dc:creator>
      <dc:date>2018-03-30T15:26:07Z</dc:date>
    </item>
  </channel>
</rss>

