That is correct. Following is my code in the GT: --------------------- code --------------------------------------------- data CODES; proc sql noprint; select CONFIGID, PARAMETER_2, RESULT_VAL_CODE as SUBTYPE from _INPUT2 where CONFIGID='xxx1' and PARAMETER_2='xxx2'; %put CONFIGID PARAMETER_2 SUBTYPE; quit; %put CONFIGID PARAMETER_2 SUBTYPE; run; --------------------- code --------------------------------------------- But when I reference these I get an error message: --------------------- log --------------------------------------------- 174 proc sql noprint; 175 select CONFIGID, PARAMETER_2, RESULT_VAL_CODE as SUBTYPE from _INPUT2 176 where CONFIGID='xxx1' and PARAMETER_2='xxx2'; ERROR: File WORK._INPUT2.DATA does not exist. NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements. 177 %put CONFIGID PARAMETER_2 SUBTYPE; CONFIGID PARAMETER_2 SUBTYPE 178 179 quit; NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE SQL used (Total process time): real time 0.01 seconds cpu time 0.01 seconds --------------------- log --------------------------------------------- I think there is more to it to reference the inout tables.
... View more