SAS Institute. The Power to Know

FOCUS AREAS

Hot Topics

Related Links

SAS®9 Compatibility

Migration

SAS®9 Processing of Version 6 Files via the V6 Engine

If you do not migrate Version 6 files to SAS®9 format, the V6 compatibility engine can automatically process some native and foreign files. This topic describes the supported processing. If these details seem overwhelming and you need a quick answer, then try the easy, interactive Compatibility Calculator instead.

Processing Native Files

As noted at the main compatibility topic, the V6 engine provides the following processing for native Version 6 files. First, read the Version 6 section in Are My Files Foreign in SAS®9? to determine whether your files are native or foreign.

Processing Foreign Files

The V6 compatibility engine provides the following processing for foreign Version 6 files. First, read the Version 6 section in Are My Files Foreign in SAS®9? to determine whether your files are native or foreign.

(Generally, a SAS 6 file is foreign in SAS 9 because you upgraded to 64-bit architecture, but you stayed in the same operating environment family.)

Using the V6 Engine

If you do not specify the V6 engine name, SAS identifies that a library is in Version 6 format and automatically assigns the V6 engine.

For example, in a SAS®9 session, if you issue the following LIBNAME statement to assign a libref to a SAS data library containing only Version 6 files, SAS automatically assigns the V6 engine:

   libname myfiles 'v6-SAS-data-library';

However, it is suggested that you specify the V6 engine name:

   libname myfiles v6 'v6-SAS-data-library';

Note: The V6 engine processes Version 6 files created by Release 6.08 through Release 6.12. For Version 6 files prior to Release 6.08, see the SAS documentation for your operating environment.

Creating Version 6 Native Files in SAS®9

You might need to create (output) a Version 6 file in a SAS®9 session, for example, if you are sharing data with a Version 6 application. To do so, see the information about using a SAS®9 file in Version 6, and methods for regressing a file to Version 6. Keep in mind that the Version 6 file must adhere to Version 6 capabilities, that is, no long names, no integrity constraints, and so on.