<?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: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75163#M16187</link>
    <description>Curiosity got the better of me.  I hae never used PROC OLAP but scanning the documentation, I see no "COLUMN" option on the LEVEL statement.  That looks like what the log is telling you.</description>
    <pubDate>Thu, 08 Oct 2009 18:22:16 GMT</pubDate>
    <dc:creator>Flip</dc:creator>
    <dc:date>2009-10-08T18:22:16Z</dc:date>
    <item>
      <title>HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75157#M16181</link>
      <description>I'm trying to create a Time dimension trough a Proc Olap but I have been having a fustrating experience.&lt;BR /&gt;
&lt;BR /&gt;
The date is stored in my detailed table under the column "Reported_Month". The dates are stored as "01Jul2009", 01Aug2009", etc... I've attached my code and the log with errors.&lt;BR /&gt;
&lt;BR /&gt;
Where is my code:&lt;BR /&gt;
&lt;BR /&gt;
dimension Time&lt;BR /&gt;
hierarchies=(Time)&lt;BR /&gt;
type=time&lt;BR /&gt;
; &lt;BR /&gt;
hierarchy Time&lt;BR /&gt;
levels=(Year Quarter Month Day)&lt;BR /&gt;
; &lt;BR /&gt;
level Year &lt;BR /&gt;
type=year &lt;BR /&gt;
column=reported_month&lt;BR /&gt;
format=year.&lt;BR /&gt;
; &lt;BR /&gt;
level Quarter&lt;BR /&gt;
type=quarters&lt;BR /&gt;
column=reported_month&lt;BR /&gt;
format=qtr.&lt;BR /&gt;
; &lt;BR /&gt;
level Month&lt;BR /&gt;
type=months&lt;BR /&gt;
column=reported_month&lt;BR /&gt;
format=monname.&lt;BR /&gt;
; &lt;BR /&gt;
level Day&lt;BR /&gt;
type=days&lt;BR /&gt;
column=reported_month&lt;BR /&gt;
format=weekdate.&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Here is the LOG with errors!:&lt;BR /&gt;
&lt;BR /&gt;
49 dimension Time&lt;BR /&gt;
50 hierarchies=(Time)&lt;BR /&gt;
51 type=time&lt;BR /&gt;
52 ;&lt;BR /&gt;
53 hierarchy Time&lt;BR /&gt;
54 levels=(Year Quarter Month Day)&lt;BR /&gt;
55 ;&lt;BR /&gt;
56 level Year&lt;BR /&gt;
57 type=year&lt;BR /&gt;
58 column=reported_month&lt;BR /&gt;
______&lt;BR /&gt;
22&lt;BR /&gt;
76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, CAPTION, DESC, EMPTY, IGNORE_EMPTY, SORT_ORDER, TYPE. &lt;BR /&gt;
&lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
59 format=year.&lt;BR /&gt;
60 ;&lt;BR /&gt;
61 level Quarter&lt;BR /&gt;
62 type=quarters&lt;BR /&gt;
63 column=reported_month&lt;BR /&gt;
______&lt;BR /&gt;
22&lt;BR /&gt;
76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, CAPTION, DESC, EMPTY, IGNORE_EMPTY, SORT_ORDER, TYPE. &lt;BR /&gt;
&lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
64 format=qtr.&lt;BR /&gt;
65 ;&lt;BR /&gt;
66 level Month&lt;BR /&gt;
67 type=months&lt;BR /&gt;
68 column=reported_month&lt;BR /&gt;
______&lt;BR /&gt;
22&lt;BR /&gt;
76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, CAPTION, DESC, EMPTY, IGNORE_EMPTY, SORT_ORDER, TYPE. &lt;BR /&gt;
&lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
69 format=monname.&lt;BR /&gt;
70 ;&lt;BR /&gt;
71 level Day&lt;BR /&gt;
72 type=days&lt;BR /&gt;
73 column=reported_month&lt;BR /&gt;
______&lt;BR /&gt;
22&lt;BR /&gt;
3 The SAS System 09:38 Wednesday, October 7, 2009&lt;BR /&gt;
&lt;BR /&gt;
76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, CAPTION, DESC, EMPTY, IGNORE_EMPTY, SORT_ORDER, TYPE. &lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
74 format=weekdate.&lt;BR /&gt;
75 ;&lt;BR /&gt;
76</description>
      <pubDate>Thu, 08 Oct 2009 15:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75157#M16181</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-08T15:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75158#M16182</link>
      <description>Given the SAS log diagnostic error, maybe you can explain what you would have expected to occur (ideally not in all CAPS PLEASE).  Also, you will most likely find useful technical documentation and supplemental conference reference papers at the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website, either using the site's SEARCH facility or with using a Google advanced search (adding the keyword site:sas.com  to limit the search to the SAS.COM domain resources).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS product documentation for reference:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/olapcube/index.html" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/olapcube/index.html&lt;/A&gt;</description>
      <pubDate>Thu, 08 Oct 2009 17:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75158#M16182</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-08T17:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75159#M16183</link>
      <description>That wasn;t very helpful... the code is taken right out of the SAS support library, that is why it is soo fustrating!</description>
      <pubDate>Thu, 08 Oct 2009 17:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75159#M16183</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-08T17:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75160#M16184</link>
      <description>Suggest you might want to mention the specific page, web link or other reference where you found the code -- might be a bit helpful for the SAS Institute staff.  Also, SAS code samples should not necessarily be considered fool-proof - sort-of buyer beware.&lt;BR /&gt;
&lt;BR /&gt;
It sounds as though you are expecting someone else to figure out what's wrong with the "sample" code and fix it for you?  It would be helpful to clearly state what you are looking to get out of the experience.  Again, I clue you into the useful SAS support website DOC and "as-is, where-is" code samples and explanations.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 08 Oct 2009 17:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75160#M16184</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-08T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75161#M16185</link>
      <description>That's exactly what I'm looking for... &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/a003228513.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/a003228513.htm&lt;/A&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75161#M16185</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-08T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75162#M16186</link>
      <description>Took a look at the DOC link, and I don't see where a LEVEL statement is being used with a COLUMN=  keyword parameter.  Suggest reviewing the various statement parameter coding and syntax - back to some basics and self-initiated deskchecking.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 08 Oct 2009 18:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75162#M16186</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-08T18:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75163#M16187</link>
      <description>Curiosity got the better of me.  I hae never used PROC OLAP but scanning the documentation, I see no "COLUMN" option on the LEVEL statement.  That looks like what the log is telling you.</description>
      <pubDate>Thu, 08 Oct 2009 18:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75163#M16187</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-10-08T18:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75164#M16188</link>
      <description>&lt;A href="http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/a002608965.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/a002608965.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Look at this DOC... what does not make sense with the other Doc is that there is no reference to which column to reference in the detail table.</description>
      <pubDate>Thu, 08 Oct 2009 18:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75164#M16188</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-08T18:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75165#M16189</link>
      <description>Are you using 9.2  It looks like the Column option was not in 9.1.&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/docMainpage.jsp" target="_blank"&gt;http://support.sas.com/onlinedoc/913/docMainpage.jsp&lt;/A&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75165#M16189</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-10-08T19:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75166#M16190</link>
      <description>as expect no good....&lt;BR /&gt;
&lt;BR /&gt;
64         dimension Reported_month&lt;BR /&gt;
65            hierarchies=(Reported_month)&lt;BR /&gt;
66            caption="Reported_month"&lt;BR /&gt;
67            type=time&lt;BR /&gt;
68            ;&lt;BR /&gt;
69         &lt;BR /&gt;
70         hierarchy Reported_month&lt;BR /&gt;
71            levels=(year quarter month)&lt;BR /&gt;
72            ;&lt;BR /&gt;
73         level year&lt;BR /&gt;
74            type=year&lt;BR /&gt;
75            ;&lt;BR /&gt;
76         level quarter&lt;BR /&gt;
77            type=quarters&lt;BR /&gt;
78            ;&lt;BR /&gt;
79         level  Month&lt;BR /&gt;
80            type=months&lt;BR /&gt;
81            ;&lt;BR /&gt;
82         &lt;BR /&gt;
83         &lt;BR /&gt;
84         &lt;BR /&gt;
85         &lt;BR /&gt;
3                                                          The SAS System                           09:38 Wednesday, October 7, 2009&lt;BR /&gt;
&lt;BR /&gt;
86         measure Total_Revenue&lt;BR /&gt;
87                 column=Total_ACTVY_AMT&lt;BR /&gt;
88                 stat=sum&lt;BR /&gt;
89                 format=dollar12.2;&lt;BR /&gt;
90         &lt;BR /&gt;
91         measure Average_Subs&lt;BR /&gt;
92                 column=AvgS&lt;BR /&gt;
93                 stat=sum&lt;BR /&gt;
94                 format=12.2;&lt;BR /&gt;
95         &lt;BR /&gt;
96          DEFINE&lt;BR /&gt;
97                 MEMBER "[GLCUBE].[Measures].[ARPU]"&lt;BR /&gt;
98         		AS "'[Measures].[Total Revenue] / [Measures].[Average Subs]', FORMAT_STRING = 'dollar10.2'";&lt;BR /&gt;
99         &lt;BR /&gt;
100        &lt;BR /&gt;
101        run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The cube already exists. The existing cube will be overwritten with the new cube.&lt;BR /&gt;
ERROR: The registration for column "month" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "quarter" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "year" is not found on the metadata server.&lt;BR /&gt;
ERROR: Cube "GLCUBE" cannot be created.&lt;BR /&gt;
WARNING: Due to previous PROC OLAP failures, all DEFINE and UNDEFINE statements will be ignored.&lt;BR /&gt;
NOTE: PROCEDURE OLAP used (Total process time):&lt;BR /&gt;
      real time           0.17 seconds&lt;BR /&gt;
      cpu time            0.02 seconds</description>
      <pubDate>Thu, 08 Oct 2009 19:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75166#M16190</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-08T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75167#M16191</link>
      <description>Hi:&lt;BR /&gt;
  Now that you are getting a different error message, and one that implies you may have issues with the Metadata server, your best resource for resolving this problem (in my opinion) is for you to open a track with Tech Support.&lt;BR /&gt;
 &lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
They can direct you to look in SAS Management Console, tell you how to look at Metadata information and they can help you debug what's happening in your specific configuration, with your specific Metadata and OLAP cube. They can also help you figure out how to define and reference a cube slice for reporting purposes.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 08 Oct 2009 20:45:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75167#M16191</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-10-08T20:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75168#M16192</link>
      <description>Hello did you manage to resolve this issue? When producing a cube I am getting similar message. Any ideas as to what caused your problem? As far as I see, the tables have been declared in the metadata properly.&lt;BR /&gt;
&lt;BR /&gt;
PRINT(GENERATE_CUBE):   MEASURE PTFL_RARORAC_SUM STAT=SUM AGGR_COLUMN=PTFL_RARORAC &lt;BR /&gt;
CAPTION='Portfolio RaRoRaC' FORMAT=NLNUM18.2 ;&lt;BR /&gt;
MPRINT(GENERATE_CUBE):   RUN ;&lt;BR /&gt;
ERROR: The registration for column "BASTR_REGION_BU" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "BASTR_DIVISION_BU" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "BUSTR_ORGSUBSECTOR_BU" is not found on the metadata &lt;BR /&gt;
       server.&lt;BR /&gt;
ERROR: The registration for column "BUSTR_ORGSECTOR_BU" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "BUSTR_DIVISION_BU" is not found on the metadata server.&lt;BR /&gt;
ERROR: The registration for column "TOP" is not found on the metadata server.&lt;BR /&gt;
ERROR: Cube "REPORT01_MAIN" cannot be created.&lt;BR /&gt;
NOTE: PROCEDURE OLAP used (Total process time):&lt;BR /&gt;
      real time           1.53 seconds&lt;BR /&gt;
      user cpu time       0.07 seconds&lt;BR /&gt;
      system cpu time     0.20 seconds&lt;BR /&gt;
      Memory                            1794k&lt;BR /&gt;
      &lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
MLOGIC(GENERATE_CUBE):  Ending execution.</description>
      <pubDate>Fri, 09 Oct 2009 14:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75168#M16192</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-09T14:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: HELP!!! TROUBLE CREATING TIME DIMENSION WITH PROC OLAP!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75169#M16193</link>
      <description>Check out &lt;A href="http://support.sas.com/kb/33/366.html" target="_blank"&gt;http://support.sas.com/kb/33/366.html&lt;/A&gt;</description>
      <pubDate>Fri, 09 Oct 2009 16:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-TROUBLE-CREATING-TIME-DIMENSION-WITH-PROC-OLAP/m-p/75169#M16193</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-10-09T16:15:55Z</dc:date>
    </item>
  </channel>
</rss>

