O'Reilly logo

SAS® Macro Programming Made Easy, Second Edition by Michele M. Burlew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Sample Data Set

The following DATA steps create the data set that is used in this book. Make sure you define a libref for BOOKS before submitting the second DATA step.

data bookdb; attrib section length=$30 label='Section' booktitle length=$50 label='Title of Book' author length=$50 label='First Author' publisher length=$50 label='Publisher' cost length=8 label='Wholesale Cost' format=dollar10.2 listprice length=8 label='List Price' format=dollar10.2 saleprice length=8 label='Sale Price' format=dollar10.2; array sname{6} $ 30 ('Internet' 'Networks and Telecommunication' 'Operating Systems' 'Programming and Applications' 'Certification and Training' 'Web Design'); array ln{125} $ 15 _temporary_ ( 'Smith ' 'Johnson ' 'Williams ' 'Jones ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required