Administrative functions > Data conversion programs > Converting Quantum data and programs with nqtspss
 
Converting Quantum data and programs with nqtspss
Quick reference
To create an nqtspss data description and data set, run Quantum using the version that does not delete its intermediate files (or use the –k option with the standard version). Then type:
nqtspss [options]
More information
nqtspss is an enhanced version of qtspss which provides the following additional or enhanced facilities:
Axis titles are transferred to the SPSS data description. The titles used are based upon the following rules:
If the axis has an overall heading, defined by the hd= on the l statement, the heading text is used as the description.
Otherwise, all table titles in the axis are examined and the first non-blank title found is used.
Otherwise, if an n23 element with text is present, this is used. If there is more than one such n23, the first one found is used.
If none of the previous conditions are met, the name of the axis as specified on the l statement or on the groupbeg statement is used.
After applying these rules, nqtspss then looks at the axis hd= and any tts and, if any are found which are different from the description, it appends them to the end of the SPSS axis as comments.
fld and bit statements are processed.
Multicodes can be coded as 0/n, where n is the element’s position in the axis, rather than as 0/1.
The missing value is user-definable and defaults to -99.99
Weighting variables are numbered from 0 rather than from 1.
A number of command-line options are available for altering the default output format.
A second version of nqtspss is available with different functionality, although it is not initially called nqtspss. If you want a version of nqtspss that deals with subaxes and allows the creation of fixed or free form data, make a copy of the nqtsas program (described in the next section) and call it nqtspss. When you run this nqtspss program you have access to all the features of nqtsas, but it creates data in SPSS format. If you want to keep both versions of nqtspss, you must rename the version distributed with this name first.
See
How nqtspss works
Preparing the Quantum run
Running Quantum and nqtspss
Program option programming
See also
Data conversion programs