<?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 with multiple imputation of missing data using IVEware in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533365#M146221</link>
    <description>&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't type " ' " at the end in dir argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 19:08:30 GMT</pubDate>
    <dc:creator>kk11</dc:creator>
    <dc:date>2019-02-06T19:08:30Z</dc:date>
    <item>
      <title>Error with multiple imputation of missing data using IVEware</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533198#M146161</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to macros and trying to understand setting up of environmental variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to impute missing data using the IVEware software.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data set has 94 variables and the variables with missing data are,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Categorical -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ELECTIVE - binary&lt;/P&gt;&lt;P&gt;PAY1 - 6 categories&lt;/P&gt;&lt;P&gt;RACE - 6 categories&lt;/P&gt;&lt;P&gt;ZIPINC_QRTL - quartile&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;Continuous -&amp;nbsp;&lt;/P&gt;&lt;P&gt;TOTCHG&lt;BR /&gt;CCR_NIS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code to run the macro using the SAS callable software IVEware.&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;PRE&gt;&lt;CODE class=" language-sas"&gt;libname SAMPLEWORK "C:/Users/Sam/Documents/Sample work";


options set = SRCLIB 'C:/Program Files (x86)/Srclib/sas' sasautos=('!SRCLIB' sasautos) mautosource;


%impute(name=impute, dir='C:/Users/Sam/Documents/Sample work, setup=new);
title SAMPLE Multiple imputation;
datain SAMPLEWORK.SAMPLE;
dataout SAMPLEWORK.SAMPLE_impute;
default categorical;
continuous AGE LOS TOTCHG CCR_NIS TOTAL_DISC readmit_score mortal_score;
mixed DISCWT NIS_STRATUM;
count NCHRONIC NDX NPR N_DISC_U N_HOSP_U S_DISC_U S_HOSP_U;
ABB AGE LOS TOTCHG CCR_NIS TOTAL_DISC readmit_score mortal_score;
transfer YEAR TAVR;
maxpred 15;
minrsqd .1;
iterations 10;
multiples 10;
seed 2001;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I got the following 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;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;55&lt;BR /&gt;56 options set = SRCLIB 'C:/Program Files (x86)/Srclib/sas' sasautos=('!SRCLIB'&lt;BR /&gt;56 ! sasautos) mautosource;&lt;BR /&gt;57&lt;BR /&gt;58 %impute(name=impute, dir=C:/Users/kata/NIS Work, setup=new);&lt;BR /&gt;WARNING: The argument to macro function %SYSGET is not defined as a system variable.&lt;BR /&gt;Can't write setup file.&lt;BR /&gt;59 title TAVR Multiple imputation;&lt;BR /&gt;60 datain NIS.NIS_TAVR_10_15_CLEAN3;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;61 dataout NIS.NIS_TAVR_10_15_impute;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;62 default categorical;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;63 continuous AGE LOS TOTCHG CCR_NIS TOTAL_DISC readmit_score mortal_score;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;64 mixed DISCWT NIS_STRATUM;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;65 count NCHRONIC NDX NPR N_DISC_U N_HOSP_U S_DISC_U S_HOSP_U;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;66 ABB AGE LOS TOTCHG CCR_NIS TOTAL_DISC readmit_score mortal_score;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;67 transfer YEAR TAVR;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;68 maxpred 15;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;69 minrsqd .1;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;70 iterations 10;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;71 multiples 10;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;72 seed 2001;&lt;BR /&gt;180: LINE and COLUMN cannot be determined.&lt;BR /&gt;NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and&lt;BR /&gt;COLUMN where the error has occurred.&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;73 run;&lt;BR /&gt;74&lt;BR /&gt;75 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;87&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;KK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:48:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533198#M146161</guid>
      <dc:creator>kk11</dc:creator>
      <dc:date>2019-02-06T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error with multiple imputation of missing data using IVEware</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533207#M146166</link>
      <description>&lt;P&gt;As you have not provided the body of the macro %impute there is little we can say.&lt;/P&gt;
&lt;P&gt;I would however point out that your code, after the macro call, is invalid SAS code in every line, so unless that macro does something special, none of that code will work even if you fix your macro issue.&lt;/P&gt;
&lt;P&gt;It maybe correct for this "&lt;SPAN&gt;SAS callable software IVEware", which I have not heard of, but if so, perhaps a good idea to post on their forum?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533207#M146166</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-06T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error with multiple imputation of missing data using IVEware</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533365#M146221</link>
      <description>&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't type " ' " at the end in dir argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 19:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-with-multiple-imputation-of-missing-data-using-IVEware/m-p/533365#M146221</guid>
      <dc:creator>kk11</dc:creator>
      <dc:date>2019-02-06T19:08:30Z</dc:date>
    </item>
  </channel>
</rss>

