![]() Chapter Contents |
![]() Previous |
![]() Next |
| ITEM= |
| Required statement | |
| Applies to: | access descriptor |
| Syntax | |
| Details | |
| Arguments |
Syntax |
|
ITEM= item-name LEVEL=level-number
DBFORMAT=database-format <SASNAME=SAS-name> <FORMAT=SAS-format > <SEARCH=search-name> <KEY=Y|N|U> <OCCURS=number-of-repeats> <DBCONTENT=database-content >; |
| Details |
The ITEM= statement defines the fields within the record.
| Arguments |
Sites commonly refer to undesired portions of the data buffer by using the FILLER notation in the ITEM= statement and by defining the DBC (DB Content) as $CHAR. See Using Filler Notation in ITEM= for information.
| $w. | $HEXw. |
| $CHARw. | $PHEXw. |
| $CHARZBw. |
For numeric data, the valid SAS informats are
| w.d | ZDBw.d | RBw.d |
| Fw.d | IBw.d | PDw.d |
| BZw.d | PIBw.d | PKw.d |
| ZDw.d | HEXw. |
| YYMMDD6. | MMDDYY8. | JULIAN5. |
| YYMMDD8. | DDMMYY6. | JULIAN7. |
| MMDDYY6. | DDMMYY8. |
Valid parameters for special formats values that indicate how a field is initialized are
| B | when values are blanks for zero |
| H | for high values |
| L | for low values. |
You can also use the special formats values when a date
is initialized in a special way. For example, if you had a date initialized
to low values, you would enter, enclosed in single quotes, the date format
followed by a slash (/) and an initialization code. For example, for an eight-digit
date in the MMDDYY8. form initialized to low values, you would enter the following
value for the DBCONTENT argument:
'MMDDYY8./L'
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.