Specifying an Alternate Template as a Backup

One thing you might want to do is check for the existence of a template, such as a style template. Then, if the style template that you want is not available, you can use a backup style for your ODS job. To simply find out whether your choice of style template exists, you can use a dictionary table or a SASHELP view. A more complicated approach might involve using the EXIST and OPEN functions in a macro program to determine whether your item store exists and/or issuing an ODS PATH statement. However, we want to focus on just testing the existence of a style template and issuing a backup template name.

New with SAS 9.2 is a DICTIONARY file called DICTIONARY.STYLES, which has a parallel view called ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.