PRINT

PRINT displays the values of variables for each case in the data.

PRINT [OUTFILE=file] [ENCODING='encoding specification'] 
  [RECORDS={1}] [{NOTABLE}] 
           {n}   {TABLE  }

 /{1    } varlist [{col location [(format)]}] [varlist...] 
  {rec #}          {(format list)          }
                   {*                      }

 [/{2    }...] 
   {rec #}

This command does not read the active dataset. It is stored, pending execution with the next command that reads the dataset. See the topic Command Order for more information.

Release History

Release 16.0

  • ENCODING subcommand added for Unicode support.

Example

PRINT / MOHIRED YRHIRED DEPT SALARY NAME.