CARDS Statement

Specifies that lines of data follow the statement.

Valid in: DATA step
Category: File-Handling
Type: Declarative
Alias: DATALINES, LINES
Restriction: This statement is not supported in a DATA step that runs in CAS.
z/OS specifics: The behavior of the CARDS statement is affected by the CARDIMAGE system option. For more information, see CARDIMAGE System Option: z/OS in SAS Companion for z/OS.
See: DATALINES Statement
Last updated: June 17, 2025