<?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: ERROR 180-322: Statement is not valid or it is used out of proper order in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584370#M166438</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; create table wow as select top 10 &amp;amp;Col. from &amp;amp;Table.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That doesn't generate an error? I didn't think SAS supported top 10 - I believe that's a T-SQL command.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2019 21:04:07 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-08-27T21:04:07Z</dc:date>
    <item>
      <title>ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584360#M166427</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm working on a macro which will query 10 observations of a column from a table and then if the entire table results in all missing values, then it will send email to the user and abort the entire code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code that I'm using, it gives me the error:&amp;nbsp;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;I can't figure what am&amp;nbsp; I doing wrong? Appreciate the help!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro chck(Table,Col);
proc sql noprint;
        create table wow as select top 10 &amp;amp;Col. from &amp;amp;Table.;
	quit;

	data wow;
	set wow;
	%let flag=1;
	if not missing(&amp;amp;Col.) then do; 
	&amp;amp;flag.=0;
		stop;
	end;
	run;


	x "setenv SHELL /bin/bash";

	%if &amp;amp;flag.=1 %then %do;

	filename fref pipe "wapsrch %sysget(user)";

	data _null_;

		infile fref;
		input;
		mail=_infile_;
		call symputx ('mail_list',mail);
		stop;
	run;
	
	%put &amp;amp;=mail_list;

	filename sendnote email to = (&amp;amp;mail_list.)
        subject = "missing table";

	data _null_;
                file sendnote;
                abort cancel;
	run;

	%end;

%mend;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Log:&lt;/P&gt;&lt;P&gt;MLOGIC(ACCESSCHECK): Beginning execution.&lt;BR /&gt;MLOGIC(ACCESSCHECK): Parameter TABLE has value table1&lt;BR /&gt;MLOGIC(ACCESSCHECK): Parameter COL has value col1&lt;BR /&gt;SYMBOLGEN: Macro variable COL resolves to col1&lt;BR /&gt;SYMBOLGEN: Macro variable TABLE resolves to table1&lt;BR /&gt;NOTE: Table WORK.WOW created, with 10 rows and 1 columns.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 2.56 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;BR /&gt;MLOGIC(ACCESSCHECK): %LET (variable name is FLAG)&lt;BR /&gt;SYMBOLGEN: Macro variable COL resolves to COL1&lt;BR /&gt;SYMBOLGEN: Macro variable FLAG resolves to 1&lt;BR /&gt;NOTE: Line generated by the macro variable "FLAG".&lt;BR /&gt;851 1&lt;BR /&gt;-&lt;BR /&gt;180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.WOW may be incomplete. When this step was stopped there were 0 observations and 1 variables.&lt;BR /&gt;WARNING: Data set WORK.WOW was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable FLAG resolves to 1&lt;BR /&gt;MLOGIC(ACCESSCHECK): %IF condition &amp;amp;flag.=1 is TRUE&lt;BR /&gt;SYMBOLGEN: Macro variable USERID resolves to ID&lt;/P&gt;&lt;P&gt;NOTE: The infile FREF is:&lt;BR /&gt;Pipe command="wapsrch ID"&lt;/P&gt;&lt;P&gt;NOTE: 1 record was read from the infile FREF.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 20:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584360#M166427</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-27T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584365#M166434</link>
      <description>&lt;P&gt;This bit of code:&lt;/P&gt;
&lt;PRE&gt;      %let flag=1;
	if not missing(&amp;amp;Col.) then do; 
	&amp;amp;flag.=0;
&lt;/PRE&gt;
&lt;P&gt;will generate:&lt;/P&gt;
&lt;PRE&gt;	if not missing(&amp;amp;Col.) then do; 
	1=0;
&lt;/PRE&gt;
&lt;P&gt;as part of the data step. The statement 1=0; is not valid. Test it yourself. You should get something like:&lt;/P&gt;
&lt;PRE&gt;1820  data junk;
1821     1=0;
         -
         180
ERROR 180-322: Statement is not valid or it is used out of proper order.

1822  run;

NOTE: The SAS System stopped processing this step because of errors.

&lt;/PRE&gt;
&lt;P&gt;Note that posting the LOG entry using the forum's {I} maintains formatting and the underscore character shows under the 1, indicating the position SAS found something it didn't like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is generally a poor idea to place macro assignments like %let inside a data step as they only execute at compile. Are you attempting to set a macro variable to zero or a data step variable?&lt;/P&gt;
&lt;P&gt;You use the functions Call Symputx or Call Symput to assign values to a macro variable inside a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possibly you intended:&lt;/P&gt;
&lt;PRE&gt;call symputx('flag',0);&lt;/PRE&gt;
&lt;P&gt;instead of the problem code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 20:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584365#M166434</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-27T20:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584370#M166438</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; create table wow as select top 10 &amp;amp;Col. from &amp;amp;Table.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That doesn't generate an error? I didn't think SAS supported top 10 - I believe that's a T-SQL command.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 21:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584370#M166438</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-27T21:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584424#M166461</link>
      <description>&lt;P&gt;Also, to add to the comments highlighting how far this code is from being sensible.&lt;/P&gt;
&lt;P&gt;This:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
        create table wow as select top 10 &amp;amp;Col. from &amp;amp;Table.;
	quit;

data wow;
	set wow;
	%let flag=1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is the same as that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let flag=1;
proc sql noprint;
        create table wow as select top 10 &amp;amp;Col. from &amp;amp;Table.;
	quit;

data wow;
	set wow;	&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which I doubt is what you intend.&lt;/P&gt;
&lt;P&gt;In summary:&lt;/P&gt;
&lt;P&gt;1. You need to understand much better how macros work before using them&lt;/P&gt;
&lt;P&gt;2. You&amp;nbsp;need to check the syntax of the code you use&lt;/P&gt;
&lt;P&gt;3. You need to check your programs with hard-coded values before attempting to introduce parameters and macros&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 22:27:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584424#M166461</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-08-28T22:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584478#M166494</link>
      <description>&lt;P&gt;It DOES generate an ERROR:&lt;/P&gt;
&lt;PRE&gt;24         proc sql;
25         create table test as
26         select top 10 agge from sashelp.class;
                      __
                      22
                      200
ERROR 22-322: Syntaxfehler, erwartet wird eines der folgenden: eine Zeichenkette in Hochkommata, !, !!, &amp;amp;, (, *, **, +, ',', -, 
&lt;/PRE&gt;
&lt;P&gt;The whole initial post of this thread is misleading, as the log is from executing another macro than the one defined:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;&lt;SPAN class="token macrobound"&gt;%macro&lt;/SPAN&gt; chck&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token statement"&gt;Table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;Col&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;/LI-CODE&gt;
&lt;PRE&gt;MLOGIC(ACCESSCHECK): Beginning execution.&lt;/PRE&gt;
&lt;P&gt;To the OP: Please post code and log from the&amp;nbsp;&lt;EM&gt;same&lt;/EM&gt; program if you want reasonable answers.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 09:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584478#M166494</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-28T09:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584496#M166500</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265086"&gt;@AJ_Brien&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give you a start here some sample code which solves the first part of your problem - determine if for a given number of rows a specific variable is always missing.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* create sample data */
data demo_miss_all;
  set sashelp.class;
  call missing(age);
run;
data demo_miss_9;
  set sashelp.class;
  if _n_&amp;lt;=9 then call missing(age);
run;

/* macro definition */
%macro demo(source_table, n_rows, col);
  %global missflg;
  %let missflg=0;
  data _null_;
    set &amp;amp;source_table(keep=&amp;amp;col);
    array _cnt {1} _temporary_;
    _cnt[1]+missing(&amp;amp;col);
    if _n_=&amp;amp;n_rows then
      do;
        call symputx('missflg',_n_=_cnt[1],'g');
        stop;
      end;
  run;
  %put &amp;amp;=missflg;
%mend;

/* execute macro */
%demo(demo_miss_all, 10, age)
%demo(demo_miss_9, 10, age)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;The code creates and populates global macro variable &amp;amp;missflg. The value in this variable is 0 if not all values are missing for the number of rows investigated, and is set to 1 if all values missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;53         %demo(demo_miss_all, 10, age)

NOTE: There were 19 observations read from the data set WORK.DEMO_MISS_ALL.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

MISSFLG=1
7                                                        The SAS System                         20:42 Wednesday, August 28, 2019

54         %demo(demo_miss_9, 10, age)

NOTE: There were 19 observations read from the data set WORK.DEMO_MISS_9.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

MISSFLG=0&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 22:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584496#M166500</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-08-28T22:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584615#M166542</link>
      <description>It works well for me without errors.</description>
      <pubDate>Wed, 28 Aug 2019 15:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584615#M166542</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-28T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584855#M166678</link>
      <description>&lt;P&gt;Please post the whole log of the code that works in this way. libname definition, macro definition, and macro execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I seriously doubt that "select top 10" works in SAS, see my previous post with proof. It might be that you ran that in an explicit passthrough, where it will work with the right DBMS.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 05:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584855#M166678</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-29T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584856#M166679</link>
      <description>&lt;P&gt;PS that's no critique, if you got that to work, I want to know how, as I am always ready to learn (Maxim 13).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 05:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584856#M166679</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-29T05:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584983#M166736</link>
      <description>&lt;P&gt;Then you're not showing us your full code because that's either using SQL Pass through or something else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 71         proc sql;
 72         select top 5 age
                       _
                       22
                       200
 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &amp;amp;, (, *, **, +, ',', -, '.', /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, 
               &amp;gt;, &amp;gt;=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE, 
               LEN, LENGTH, LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 73         from sashelp.class;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265086"&gt;@AJ_Brien&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;It works well for me without errors.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584983#M166736</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-29T16:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584988#M166738</link>
      <description>&lt;P&gt;Then you're not showing us your full code because that's either using SQL Pass through or something else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 71         proc sql;
 72         select top 5 age
                       _
                       22
                       200
 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &amp;amp;, (, *, **, +, ',', -, '.', /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, 
               &amp;gt;, &amp;gt;=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE, 
               LEN, LENGTH, LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
 
 73         from sashelp.class;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265086"&gt;@AJ_Brien&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;It works well for me without errors.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/584988#M166738</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-29T16:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585028#M166755</link>
      <description>you're right, just adding call symputx made it work. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585028#M166755</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-29T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585030#M166757</link>
      <description>The log is copied as-is, but I do have to change the names for confidentiality purposes, hope that's okay. seems like I missed changing it on that line. Thank you for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585030#M166757</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-29T18:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585032#M166758</link>
      <description>Thank you, I'll use this as a reference in future. I appreciate this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585032#M166758</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-29T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585034#M166760</link>
      <description>you're right, I didn't know this worked only on pass through and not on general sas datasets. I'll make sure to mention that from next time. Appreciate the feedback &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/585034#M166760</guid>
      <dc:creator>AJ_Brien</dc:creator>
      <dc:date>2019-08-29T18:31:50Z</dc:date>
    </item>
  </channel>
</rss>

