The Q-language files to be processed can be specified either on the command line or with the ‘QFile=’ keyword. If both methods are used, files specified with the ‘QFile=" keyword are processed before the files given on the command line.
Keyword Possible Specification Default (if no keyword) _____________________________________________________________________ Errorfile= Name of alternate file for Use ‘Q4TODDL.MSG’ diagnostic messages Layout= Name of alternate layout file Use ‘LAYOUT’ Output= Name of file for DDL output Output sent to screen Prefix= Prefix for variable names No prefix (1-5 characters) QFile= Name of Q-language file(s) Take filenames only from command line Studydefs= Name of alternate study Use ‘SDEFS’ definition file Varlist= Name of alternate file with Use ‘VARLIST’ list of variables Map=a:b,c:d Map layout record numbers Use record numbers as (If a,b,c,d are integers, given in layout file layout record a becomes b, layout record c becomes d)
Keyword Meaning _____________________________________________________________________ Appending Convert variable locations to a single long record Catselim Do not output category labels Floor Set ‘min’ to the lowest code given in the Q-language instrument for each variable Inventory Save list of items processed (inventory) in the file ‘Q4TODDL.IN1’. If any item names have been transformed, a list of the final DDL names is saved in the file ‘Q4TODDL.IN2’. Noninput Include non-input items (if no VARLIST provided) QUesfull Include the full text of the items in the ‘text=’ segments Report Report variables missing from Q-language files Textelim Do not output ‘text=’ segments 9fill Set ‘md1’ to width filled with nines 8fill Set ‘md2’ to width filled with nines, minus 1 0fill Force ‘9fill’ and ‘8fill’ options, even if there is no matching precode in the Q-file.
qfiles = file1.q file2.q 9fill 8fill floor output = myddl
# repeat the ‘qfile’ keyword; use full paths (MS-DOS syntax) qfile = file1.q qfile = c:\project\e-inst\file2.q layout = mylayout output = newddl # specify prefix and record mapping prefix=var map = 12:1, 15:2 errorfile inventory report 9fill 8fill
|Q4TODDL||General discussion of Q4TODDL|