ABSTRACT

The SAS code to print each of these datasets with appropriate titles is given in Program 10.1.1.

P

10.1.1

Comments omitted

LIBNAME abcxyz 'a:\data'; PROC PRINT DATA=abcxyz.tnfdata1; TITLE 'Data for dataset with MTB not present and FAT not present'; VAR donor rep1 rep2 rep3;

The repetitious code seen in Program 10.1.1 is slightly tedious for even this very simple procedure and small number of datasets. In situations where there are perhaps more datasets and the procedure to be repeated is lengthier, the repetition of the code is also rather inefficient.