Chapter Contents

Previous

Next
CATALOG

CATALOG



Manages SAS catalogs

OS/390 specifics: FILE= option


Details
See Also


Details

The FILE= option in the CONTENTS statement of the CATALOG procedure is the only portion of this procedure that is host specific. Under OS/390, if the value that you specify in the FILE= option has not been previously defined as a fileref (using a FILENAME statement, FILENAME function, TSO ALLOCATE command, or JCL DD statement), then SAS uses the value to construct the physical file name.

In the following example, if the SAS system option FILEPROMPT is in effect, a requestor window asks whether you want to allocate the external file whose fileref is SAMPLE. If you reply Yes, then SAS attempts to locate the external file. If the file was not previously allocated, then SAS allocates it. To construct the data set name, SAS inserts the value of the SYSPREF= system option in front of the FILE= value (in this case, SAMPLE), and it appends the name LIST to it. In this example, if the value of SYSPREF= is SASDEMO.V8, then SAS allocates an physical file named SASDEMO.V8.SAMPLE.LIST.

proc catalog catalog=profile;
   contents file=sample;
run;

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.