SAS/SHARE Cross-Version Issues, SAS 9.2 |
SAS File Format: Definition |
A SAS file format is the collection of attributes of a SAS file that are specific to the SAS release. The following are different file formats:
SAS 9.2
SAS 8
SAS 6
The following are characteristics of newer file formats (SAS 9.2 and SAS 8):
long variable names
long variable labels
long data set labels
integrity constraints
data set generations
Client/Server Access to Version-Specific SAS Files |
Regardless of the version of SAS that the SAS/SHARE client or the SAS/SHARE server runs, the server automatically selects the correct engine for the format of the library. An automatic engine selection means that newer clients can access older (SAS 6) SAS files on newer servers (and older clients can access newer files when the files don't use new features). To override the server's automatic engine selection, a SAS client can specify the RENGINE= option in the LIBNAME statement to tell the server which engine to use. For example, a SAS 8 client can use the V6 remote engine to access a SAS 6 file on a SAS 8 server.
For example:
libname grades 'SAS-data-library' server=shr1 rengine=V6;
However, a SAS/SHARE client cannot access a SAS 9.2 file on a SAS 8 or a SAS 6 server.
A SAS/SHARE 9.2 server can use any SAS library or view engine to search for and retrieve the SAS files of the specified version. The capabilities of each engine when it is used by a SAS/SHARE server are the same as the engine's capabilities when it is used in a single-user SAS session. For details about the capabilities of each engine in a SAS 9.2 session, see the topic about SAS 9.2 compatibility in SAS Language Reference: Concepts.
SAS 8 Clients Accessing SAS Files Created on SAS 9.2 Servers |
Consider the following:
The SAS/SHARE server has been upgraded to SAS 9.2.
SAS 9.2 SAS files are being created on the SAS 9.2 server.
A SAS 8 client has not been upgraded to SAS 9.2.
Until the SAS 8 client is upgraded to SAS 9.2, the client needs to access the SAS files that have been created on the SAS 9.2 server.
The SAS 8 client cannot access the SAS 9.2 SAS files on the SAS 9.2 server if the files contain SAS 9.2 features, such as long format names.
How can the SAS 8 client, which has not yet upgraded to SAS 9.2, but must continue client/server processing, be accommodated?
As a temporary measure, SAS files on the SAS 9.2 server can be created in SAS 8 format to ensure that SAS 8 clients can access them.
In the SAS application that creates a SAS file, specify the VALIDFMTNAME= option to ensure that format names are restricted to the length that is supported in SAS 8. For more information, see the VALIDFMTNAME= System Option in SAS Language Reference: Dictionary.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.