DATASET Keyword (GGRAPH command)

The DATASET keyword specifies the dataset name of an open data file to use for the graph dataset. If the keyword is omitted, GGRAPH uses the active dataset. You can also use an asterisk (*) to refer to the active dataset.

The following are honored only for the active dataset (which cannot be named except with an asterisk):

  • FILTER
  • USE
  • SPLIT FILE
  • Weight filtering (exclusion of cases with non-positive weights)
  • Temporary transformations
  • Pending transformations

Example

GGRAPH
  /GRAPHDATASET NAME="graphdataset" DATASET=DataSet2 VARIABLES=jobcat COUNT()
  /GRAPHSPEC SOURCE=GPLFILE("simplebarchart.gpl").