_ERROR_を1に設定します。SASログに書き込まれるメッセージはオプションです。
該当要素: | DATAステップ |
カテゴリ: | アクション |
種類: | 実行 |
file file-specification;
if type='teen' & age > 19 then
error 'type and age don"t match ' age=;
file file-specification; if type='teen' & age > 19 then do; file log; put 'type and age don"t match ' age=; _error_=1; file file-specification; end;