Thanks for the response. I've modified the last data step as follows: *Use stored variable names to assign values;
data mmrfinal;
set mmrlast;
key_rxhcc=trim(ult_liscat)||put(AG_ID,z2.);
b_year=trim("&b_year");
pd_rs_base_fin=pd_rs_&pd_rs_base._fin;
bm_rxhccadj=input(putc(key_rxhcc,bmadj_&bmadj1..),16.);
pd_rs_proj_fin=pd_rs_&pd_rs_fin._fin;
run; And now I'm getting the following error in my log: 27570 *Use stored variable names to assign values;
27571 data mmrfinal;
27572 set mmrlast;
NOTE: SGIO processing active for file WKSP.MMR_MD.DATA.
NOTE: SGIO processing active for file WKSP.MMR_MD_BM_REMIX.DATA.
SYMBOLGEN: Macro variable B_YEAR resolves to 2017
SYMBOLGEN: Macro variable PD_RS_BASE resolves to 17
27573 key_rxhcc=trim(ult_liscat)||put(AG_ID,z2.);
SYMBOLGEN: Macro variable BMADJ1 resolves to svtn_nintn
27574 b_year=trim("&b_year");
27575 pd_rs_base_fin=pd_rs_&pd_rs_base._fin;
SYMBOLGEN: Macro variable PD_RS_FIN resolves to 18
27576 bm_rxhccadj=input(putc(key_rxhcc,bmadj_&bmadj1..),16.);
-
22
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, (, *, **, +, ',', -, /, <, <=, <>, =,
>, ><, >=, AND, EQ, GE, GT, LE, LT, MAX, MIN, NE, NG, NL, OR, ^=, |, ||, ~=.
27577 pd_rs_proj_fin=pd_rs_&pd_rs_fin._fin;
27578 run;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
1:1
NOTE: SGIO processing active for file WORK.MMRFINAL.DATA.
NOTE: SGIO processing active for file WORK.MMRFINAL.DATA.
NOTE: View WORK.MMRLAST.VIEW used (Total process time):
real time 0.53 seconds
cpu time 0.04 seconds
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.MMRFINAL may be incomplete. When this step was stopped there were 0 observations
and 32 variables.
WARNING: Data set WORK.MMRFINAL was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.54 seconds
cpu time 0.04 seconds I need to review the information in the link provided closer, but have to jump over to a few client calls now. If you have any other ideas or advice, it would be much appreciated. Thanks!
... View more