Hello All, Here is the log of the program
36 %STPBEGIN 37 %global Param1 Param2; 38 %global status result_1 ; 39 40 data UI_Result; 41 %let dt = &sysdate; 42 format status $5.; 43 format result_1 $200.; 44 45 format parametri1 $20.; 46 format parametri2 $20.; 47 The SAS System
48 parametri1="&Param1."; 49 parametri2="&Param2."; 50 51 if strip(parametri1) in ('A','B','C','D') and parametri2 in (0,1,2,3,4) then do; 52 status="OK"; 53 viesti=cat(catx(";","Test_available", compress(parametri1),compress(parametri2))); 54 end; 55 else do; 56 status="Error"; 57 viesti=cat("Invalid input parameters ", compress(parametri1), " and ", compress(parametri2), "."); 58 59 end; 60 61 call symput ('status', status); 62 call symput ('result_1', result_1 ); 63 64 65 run;
NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column). 51:51 NOTE: The data set WORK.UI_Result has 1 observations and 4 variables. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds
66 67 %put &status.; OK 68 %put &viesti.; Test_available NOTE: Line generated by the macro variable "result_1". 68 Test_available;A;1 _ 180 ERROR 180-322: Statement is not valid or it is used out of proper order.
The SAS System
NOTE: Line generated by the macro variable "result_1". 68 Test_available;A;1 _ 180 ERROR 180-322: Statement is not valid or it is used out of proper order.
69 70 %STPEND 71 72 * Begin EG generated code (do not edit this line); 73 ;*';*";*/;quit; 74 %STPEND;
... View more