SAS/AF Export SCL and SOURCE Catalog Entries
Export each SCL and SOURCE entry of a catalog to individual text files.

Run this example by issuing the command:
AFA C=EXAMPLE.CATOUT.THEBAG.FRAME
The core of this program does two things to perform the export:
- call execcmd('FILE "path" REPLACE);
- call build (entry,'BROWSE');
When the build window opens, the FILE command stacked via execcmd
runs, saving the source to the text file specified as path.
The example was created to simplfy exporting all SCL and SOURCE entries of a catalog via a right click on a catalog member in SAS Explorer (see this tip for more)
Copyright 2005 Richard A. DeVenezia This page was last updated 03 January 2005.