QASpec V1.0 QASPEC allows you to save lookup table data and programming statements to an ASCII file so that it can be printed out as a document in the Q&A word processor or imported into a database file. 1) Copy QASPEC into the sub-directory containing your database files. (ie. COPY A:*.* C:) 2) Execute QASPEC from a DOS prompt, using the format: QASPEC -[COMMANDS] [FILENAME] [OUTPUT FILENAME] [Width] COMMANDS: -P :to list programming statements -PS :to list programming statements in sorted order by field ID# -L :to output lookup table -X :to output lookup table in a Standard ASCII formal (comma delimited, with quotes around textual information) FILENAME: The name of the database containing the programming or lookup table. OUTPUT FILENAME: The name of the ASCII file to store the output information. Width (Optional): This option should be used if you would like QASPEC to format the information for wide carriage printers, or would like the output to contain more than 80 characters/line. 3) The output file is saved in the current directory. If you do not specify an output filename, QASPEC will output the information to the screen. You cannot use the output width option unless an output file is specified. Q & A Application Note Rev. 6/92 #2402 Page 1 of 2 QASpec V1.0 Examples: QASPEC -PS EMPLOYEE EMP.PRG - This command will output the programming from the EMPLOYEE database to the new file EMP.PRG in sorted order. QASPEC -X PROPERTY PROP.ASC - This command will output the lookup table from the PROPERTY database to the new file PROP.ASC in Standard ASCII format. After executing the command, go to the Q&A Write menu and choose GET and enter the name of your output file. You can now print this ASCII file as you would a regular document. With lookup table data you have the additional option of importing the output file as Standard ASCII into an existing Q&A database (Refer to "IMPORT DATA" instructions in the UTILITIES section of the Q&A manual). Q & A Application Note Rev. 6/92 #2402 Page 2 of 2