![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS Companion for the CMS Environment |
Note: This procedure is valid only for uncompressed native SAS data files that were created with a V6, V7,
or V8 engine. ![[cautionend]](../common/images/cautend.gif)
Here is an example of a calculation for a V6 system
that assumes a 2048-byte page size.
Here is an example of a calculation for a V8 system.
This example assumes an 8192-byte page size.
| Using the CONTENTS Procedure to Determine Observation Length |
data oranges; input variety $ flavor texture looks; cards; navel 9 8 6 ; proc contents data=oranges; run;
The output is shown in CONTENTS Procedure Output .
The SAS System 1
CONTENTS PROCEDURE
Data Set Name: WORK.ORANGES Observations: 1
Member Type: DATA Variables: 4
Engine: V8 Indexes: 0
Created: 14:27 Monday, June 1, 1999 Observation Length: 32
Last Modified: 14:27 Monday, June 1, 1999 Deleted Observations: 0
Protection: Compressed: NO
Data Set Type: Sorted: NO
Label:
-----Engine/Host Dependent Information-----
Data Set Page Size: 8192
Number of Data Set Pages: 1
First Data Page: 1
Max Obs per Page: 254
Obs in First Data Page: 1
Number of Data Set Repairs: 0
File Name: ORANGES WORK A1
Release Created 7.00.00
Host Created VM/ESA
Owner Name USERID
-----Alphabetic List of Variables and Attributes-----
# Variable Type Len Pos
-----------------------------------
2 FLAVOR Num 8 8
4 LOOKS Num 8 24
3 TEXTURE Num 8 16
1 VARIETY Char 8 0 |
The only values that you need to pay attention to are
Observation
Length and
Compressed:
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.