The following job displayed keyword scale in colour (no parentheses) so I deliberately ran it to see what would happen.
*Number of times value 9 occurs in the five source items for leftrigh.
count lr9 =
redistrb bigbusnn wealth richlaw indust4 (9).
formats lr9 (f2.0).
variable level lr9 scale.
Error # 701 in column 20. Text: scale
An undefined variable name, or a scratch or system variable was specified in a
variable list which accepts only standard variables. Check spelling and
verify the existence of this variable.
Execution of this command stops.
Error # 6290 in column 1024. Text: (End of Command)
Expecting parenthesized measurement level on the VARIABLE LEVEL command. The
recognized levels are NOMINAL, ORDINAL, and SCALE.
variable labels lr9 'Number of 9s in left-right source items'.
frequencies lr9.
The frequency count worked, but variable lr9 was given a level of Nominal. Should the error have been flagged during parsing?
John F Hall MA (Cantab) Dip Ed (Dunelm)
[Retired academic survey researcher]
Email: [hidden email]
Website: Journeys in Survey Research
Course: Survey Analysis Workshop (SPSS)
Research: Subjective Social Indicators (Quality of Life)
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD