コメントテキストを指定します。
| 種類: | マクロステートメント |
| 制限事項: | マクロ定義またはオープンコードで使用可能 |
*commentary; comment commentary; *commentary; comment commentary; /*commentary*//*commentary*//*commentary*/および*commentary;を持つSASコメントステートメント が含まれています。
%macro verdata(in, thresh);
*%let thresh = 5;
/* The preceding SAS comment does not hide the %let statement
as does this type of SAS comment.
%let thresh = 6;
*/
%if %length(&in) > 0 %then %do;
%* infile given;
data check;
/* Jim's data */
infile ∈
input x y z;
* check data;
if x<&thresh or y<&thresh or z<&thresh then list;
run;
%end;
%else %put Error: No infile specified;
%mend verdata;
%verdata(ina, 0)DATA CHECK;
INFILE INA;
INPUT X Y Z;
* CHECK DATA;
IF X<5 OR Y<5 OR Z<5 THEN LIST;
RUN;