Examples (IMPORT command)

IMPORT FILE="/data/newdata.por"
  /RENAME=(V1 TO V3=ID,SEX,AGE) /MAP.
  • The active dataset is generated from the portable file newdata.por.
  • Variables V1, V2, and V3 are renamed ID, SEX, and AGE in the active dataset. Their names remain V1, V2, and V3 in the portable file. None of the other variables copied into the active dataset are renamed.
  • MAP requests a display of the variables in the active dataset.