Chapter Contents

Previous

Next
SAS Companion for the CMS Environment

SAS Filenames

CMS and SAS use different syntax rules to identify a file:


SAS Filename Restrictions

Under CMS, SAS filenames can contain no more than eight characters. In order for CMS file-naming requirements to accommodate SAS file-naming requirements, the following SAS rules are applied:

SAS File-Naming Rules
Data Member Names Nondata Member Names
Number of Characters Type of Filename Used Number of Characters Type of Filename Used
<= 8 CMS <=7 SAS name and a prefix character as CMS filename
>8 generated CMS filename >7 generated CMS filename

If any generated CMS filenames are needed, a special CMS file is created that is a directory for the library according to the version or release. If this directory is accidentally erased, it will be re-created automatically. The directory file has a CMS filename of :SASDIR and has the same filetype as the library that it is associated with. All generated filenames are prefixed with :SAS and have a four-digit suffix, as in :SAS0001.


Chapter Contents

Previous

Next

Top of Page

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