LIST Statement (Optional)

Lists information about the variables to be loaded

Applies to: New and existing databases

Syntax

LIST list-selection;

Syntax Description

The LIST statement causes a list of information to be displayed for all input variables, along with the current options, such as KEY or NON-KEY and level number. The default destination of the list is the SAS log.
list-selection can be one or more of the following:
ALL causes all information for the load to be listed.
FIELDS | ITEMS causes all SYSTEM 2000 items for the load to be listed. ITEMS is an alias.
variable-identifier causes only one line with the information about the specified variable to be listed. The variable-identifier can be either the SAS variable name or the positional equivalent in the LIST output, which is the number that represents the variable's place in the data file. For example, if you want to list the information for the item associated with the third SAS variable, submit the following statement:
     list 3;
You can use one or more of these options in the LIST statement in any order
      list 3 fields 4;
This statement lists the information for the third SAS variable, followed by all the items in the data file, followed by the information for the fourth SAS variable.