Syntax Conventions (CTABLES command)

  • The basic specification is a TABLE subcommand with at least one variable in one dimension. Multiple TABLE subcommands can be included in one CTABLES command.
  • The global subcommands FORMAT, VLABELS, MRSETS, and SMISSING must precede the first TABLE subcommand and can be named in any order.
  • The local subcommands SLABELS, CLABELS, CATEGORIES, TITLES, SIGTEST, and COMPARETEST follow the TABLE subcommand in any order and refer to the immediately preceding table expression.
  • The HIDESMALLCOUNTS subcommand applies to all TABLE subcommands and must precede the first TABLE subcommand.
  • In general, if subcommands are repeated, their specifications are merged. The last value of each specified attribute is honored.
  • Equals signs that are shown in the syntax charts are required.
  • Square brackets that are shown in the syntax charts are required.
  • All keywords except summary function names, attribute values, and explicit category list keywords can be truncated to as few as three characters. Function names must be spelled in full.
  • The slash before all subcommands, including the first subcommand, is required.