| United States-English |
|
|
|
![]() |
QUERY/iX Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 USING QUERY/iXREPORTING DATA |
|
The reporting commands, LIST and REPORT, display selected information from the data base(s). QUERY provides several reporting techniques which enable you to examine the data in the data base without writing a program. You can report information in three ways:
The LIST command combines the functions of locating and reporting. You can selectively locate entries and print them in a report with automatic formatting and headings. Data in the formatted report is printed in columns. REPORT ALL is a form of the REPORT command. REPORT ALL is similar to the LIST command in that it automatically formats your report. However, REPORT ALL reports data entries selected by the last retrieval command. The formatted report prints one data item name and value per line for all data items in each retrieved entry. The REPORT command also reports data entries selected by the last retrieval command. However, the REPORT command allows you to design your own report format. Your report can include:
The REPORT command can be stored as a procedure in a Proc-file for repeated use without re-entering the command. Reporting procedures can be created which prompt you for desired information when the procedure is executed. This allows you to use different specifications for the report each time the procedure is executed. You can also write your own user-defined procedures in a programming language which enable your report to perform specialized functions not provided by QUERY. This feature is intended for use by programmers. Refer to Appendix F for further discussion. |
||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||