Thanks for your help. I am still not able to invoke the macros, but I have stored them where I think they belong. Here is the latest log:
options set=SRCLIB "C:\Program Files\Srclib\ive_sas_windows"
882 sasautos = (c:\mymacros
883 !C:\Program Files\Srclib
884 !c:\documents and settings\rose marie)
885
886 mautosource;
887
888 LIBNAME MYLIB "C:\PROGRAM FILES\SRCLIB\COMBINED.DAT";
NOTE: Library MYLIB does not exist.
889 PROC COPY IN=MYLIB OUT=WORK;
WARNING: The Base Product product with which COPY is associated will expire within 30 days. Please contact your SAS installation representative to have it
renewed.
890
891 libname MYLIB 'C:\MYINDIR';
NOTE: Libref MYLIB was successfully assigned as follows:
Engine: V9
Physical Name: C:\MYINDIR
892
893 LIBNAME MYOUT 'C:\MYOUTDIR';
NOTE: Libref MYOUT was successfully assigned as follows:
Engine: V9
Physical Name: C:\MYOUTDIR
894
NOTE: Copying MYLIB.COMBINED to WORK.COMBINED (memtype=DATA).
NOTE: There were 63213 observations read from the data set MYLIB.COMBINED.
NOTE: The data set WORK.COMBINED has 63213 observations and 42 variables.
NOTE: PROCEDURE COPY used (Total process time):
real time 1.01 seconds
cpu time 0.04 seconds
895 DATA _NULL_;
WARNING: The Base Product product with which DATASTEP is associated will expire within 30 days. Please contact your SAS installation representative to have it
renewed.
896 INFILE DATALINES;
897 FILENAME MYSETUP "IMPUTE SET";
898 FILE MYSETUP;
899 INPUT;
900 PUT _INFILE_;
901 DATALINES4;
NOTE: The file MYSETUP is:
File Name=C:\Documents and Settings\Rose Marie\IMPUTE SET,
RECFM=V,LRECL=256
NOTE: 20 records were written to the file MYSETUP.
The minimum record length was 80.
The maximum record length was 80.
NOTE: DATA statement used (Total process time):
real time 0.29 seconds
cpu time 0.01 seconds
922 ;;;;
923
924 libname MYLIB 'C:\MYINDIR';
NOTE: Libref MYLIB was successfully assigned as follows:
Engine: V9
Physical Name: C:\MYINDIR
925 LIBNAME MYOUT 'C:\MYOUTDIR';
NOTE: Libref MYOUT was successfully assigned as follows:
Engine: V9
Physical Name: C:\MYOUTDIR
WARNING: Apparent invocation of macro IMPUTE not resolved.
926
927
928 %IMPUTE (NAME=MYSETUP,DIR=C:\MYOUTDIR, SETUP=NEW);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
929
930 TITLE MULTIPLE IMPUTATION;
931
932 DATAIN MYLIB.COMBINED;
------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
933 DATAOUT MYOUT.IMPUTED1;
-------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
934 MDATA IMPUTE;
-----
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
935
936 CONTINUOUS YEARCAN MONCAN YEARHIV MONHIV YEARAIDS MONAIDS
----------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
937 AGEHIV AGECAN AGEAIDS DEATHMM YEARDEC;
938 CATEGORICAL GENDER RACE DEC;
-----------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
939 TRANSFER MATCH CASE ID DEATHDD DAYCAN DAYHIV DAYAIDS TUMORGR
--------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
940 ICDO PRIMSITE MORPHOL SSTAGE RADIAD SURGERY CHEMO CD4 DAYSHAC
941 DAYSHAA CAGECAN CAGEAIDS ICDBEH AIDSCASE YRMOCAN YRMOHIV ETHNIC;
942 RESTRICT AGECAN (YEARCAN NE " ")
--------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
943 AGEAIDS (YEARAIDS NE " ");
944
945
946 ITERATIONS 10;
----------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
947 MULTIPLES 5;
---------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
948 SEED 100;
----
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: Apparent invocation of macro PUTDATA not resolved.
949 RUN ;
950
951
952 %PUTDATA(NAME=MYSETUP,DIR=C:\MYOUTDIR,MULT=2,DATAOUT=MYOUT.IMPUTED2);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: Apparent invocation of macro PUTDATA not resolved.
953 %PUTDATA(NAME=MYSETUP,DIR=C:\MYOUTDIR,MULT=3,DATAOUT=MYOUT.IMPUTED2);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: Apparent invocation of macro PUTDATA not resolved.
954 %PUTDATA(NAME=MYSETUP,DIR=C:\MYOUTDIR,MULT=4,DATAOUT=MYOUT.IMPUTED2);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: Apparent invocation of macro PUTDATA not resolved.
955 %PUTDATA(NAME=MYSETUP,DIR=C:\MYOUTDIR,MULT=5,DATAOUT=MYOUT.IMPUTED2);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
WARNING: Apparent invocation of macro DESCRIBE not resolved.
956
957
958
959 %DESCRIBE (SETUP=NEW,NAME=DISETUP,DIR=C:\MYOUTDIR);
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
960 DATAIN MYOUT.IMPUTED1
------
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
961 MYOUT.IMPUTED2
962 MYOUT.IMPUTED3
963 MYOUT.IMPUTED4
964 MYOUT.IMPUTED5;
965 PRINT DETAILS;
-----
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
966 RUN;