Here is the Log:
2505 dm "log; clear; ";
2506 dm 'odsresults; clear';
2507 options mprint;
2508 /* */
2509 %macro getBetas();
2510 %let varnamelist = SLSS3 PANASn3 PANASp3 /*PANASpP3 PANASnP3 CES3 CHSa3 CHSp3 CHStot3 CASSSC3
2510! CASSSP3 CASSST3*/ ;
2511 %put &varnamelist;
2512 %let end=%sysfunc(countw(&varnamelist));
2513 %put &end;
2514 %do i = 1 %to &end;
2515 %put out= %scan(&varnamelist., &i, " ");
2516 proc print data=EstCovWithBL_&out.;
2517 run;
2518 %end;
2519 %mend;
2520
2521 ods tagsets.excelxp style=sasweb
2522 file="C:\Users\radhi\OneDrive - University of Delaware - o365\Desktop\Dr Suldo
2522! IES\estbetas.xls";
NOTE: Writing TAGSETS.EXCELXP Body file: C:\Users\radhi\OneDrive - University of Delaware -
o365\Desktop\Dr Suldo IES\estbetas.xls
NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above, v1.131, 04/23/2015). Add
options(doc='help') to the ods statement for more information.
2523 %getBetas;
SLSS3 PANASn3 PANASp3
3
out= SLSS3
NOTE: Writing HTML Body file: sashtml4.htm
WARNING: Apparent symbolic reference OUT not resolved.
NOTE 137-205: Line generated by the invoked macro "GETBETAS".
1 proc print data=EstCovWithBL_&out.; run;
-
22
ERROR 22-322: Syntax error, expecting one of the following: ;, (, BLANKLINE, CONTENTS, DATA,
DOUBLE, GRANDTOTAL_LABEL, GRANDTOT_LABEL, GRAND_LABEL, GTOTAL_LABEL, GTOT_LABEL,
HEADING, LABEL, N, NOOBS, NOSUMLABEL, OBS, ROUND, ROWS, SPLIT, STYLE, SUMLABEL,
UNIFORM, WIDTH.
NOTE: Line generated by the invoked macro "GETBETAS".
1 proc print data=EstCovWithBL_&out.; run;
-
200
ERROR 200-322: The symbol is not recognized and will be ignored.
WARNING: Apparent symbolic reference OUT not resolved.
ERROR: File WORK.ESTCOVWITHBL_.DATA does not exist.
MPRINT(GETBETAS): proc print data=EstCovWithBL_&out. run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.43 seconds
cpu time 0.15 seconds
out= PANASn3
WARNING: Apparent symbolic reference OUT not resolved.
NOTE 137-205: Line generated by the invoked macro "GETBETAS".
3 proc print data=EstCovWithBL_&out.; run;
-
22
ERROR 22-322: Syntax error, expecting one of the following: ;, (, BLANKLINE, CONTENTS, DATA,
DOUBLE, GRANDTOTAL_LABEL, GRANDTOT_LABEL, GRAND_LABEL, GTOTAL_LABEL, GTOT_LABEL,
HEADING, LABEL, N, NOOBS, NOSUMLABEL, OBS, ROUND, ROWS, SPLIT, STYLE, SUMLABEL,
UNIFORM, WIDTH.
NOTE: Line generated by the invoked macro "GETBETAS".
3 proc print data=EstCovWithBL_&out.; run;
-
200
ERROR 200-322: The symbol is not recognized and will be ignored.
WARNING: Apparent symbolic reference OUT not resolved.
ERROR: File WORK.ESTCOVWITHBL_.DATA does not exist.
MPRINT(GETBETAS): proc print data=EstCovWithBL_&out. run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
out= PANASp3
WARNING: Apparent symbolic reference OUT not resolved.
NOTE 137-205: Line generated by the invoked macro "GETBETAS".
5 proc print data=EstCovWithBL_&out.; run;
-
22
ERROR 22-322: Syntax error, expecting one of the following: ;, (, BLANKLINE, CONTENTS, DATA,
DOUBLE, GRANDTOTAL_LABEL, GRANDTOT_LABEL, GRAND_LABEL, GTOTAL_LABEL, GTOT_LABEL,
HEADING, LABEL, N, NOOBS, NOSUMLABEL, OBS, ROUND, ROWS, SPLIT, STYLE, SUMLABEL,
UNIFORM, WIDTH.
NOTE: Line generated by the invoked macro "GETBETAS".
5 proc print data=EstCovWithBL_&out.; run;
-
200
ERROR 200-322: The symbol is not recognized and will be ignored.
WARNING: Apparent symbolic reference OUT not resolved.
ERROR: File WORK.ESTCOVWITHBL_.DATA does not exist.
MPRINT(GETBETAS): proc print data=EstCovWithBL_&out. run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
2524 ods tagsets.excelxp close;
... View more