Search notes:

SAS statements: datalines

datalines together with the input statement allow to read data that is stored with the program (rather than reading external data).
The ; after the datalines statement marks a data step boundary
/*
     Reading instream data lines
     
     Apparently, datalines is also a reserved fileref for 
     the INFILE statement.
     
*/

data tq84;
  input num english $ german $;
datalines;
1 one eins
4 four vier
2 two zwei
9 nine neun
;;;;
Github repository about-SAS, path: /programming/statements/datalines/basic.sas

Options

Apparently, in order to read data lines longer than 80 characters, the nocardimage option need to be set.

See also

datalines4
SAS statements

Index