@:(Trailing @)Holds an input record for the execution of the next INPUT statement within the same iteration of the DATA Step. 即将当前INPUT语句所读取的观测给本次DATA步循环中的下一个INPUT语句使用,简而言之就是一条观测给两个INPUT语句使用,但生成一条观测。假设有以下数据形式:
input num flag $ @; if flag='day' then input day mmddyy10.; else input time time8.;
复制代码
读取后的数据:
[attach]21[/attach]
@@:(Double Trailing @)Holds an input record for the execution of the next INPUT statement across iterations of the DATA step. 即将当前INPUT语句所读取的观测给下一个DATA步循环的INPUT语句使用,一条观测给多个INPUT语句使用,生成多条观测。假设有以下数据形式: