|
|
QUERY/V Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 QUERY/V COMMANDSREPORT ALL |
|
Prints data item values of entries located by the last retrieval command without formatting.
For example:
Where character = X
The REPORT command prints a report of the data entries located by the last FIND, MULTIFIND, or SUBSET command. REPORT output can be directed to any desired output device through the MPE :FILE command and the QUERY OUTPUT= command. Refer to the OUTPUT= command for more information. If you are using REPORT ALL on an item type of U or X with a length greater than 50 characters, QUERY prints the data item value in multiples of 50 characters. If you are using the REPORT ALL command in session mode and output is defined as LP, QUERY leaves 2 blank lines at the end of the page (page default is 60 lines). Extra lines can be eliminated by using the NOPAGE output control statement. For multiple data set access (refer to the JOIN and MULTIFIND commands), REPORT ALL prints the data base name and data set name for each data set entry contained in a compound entry. The following table summarizes the REPORT ALL options: Table 3-9 REPORT ALL Options
If the minus option is not used, QUERY prints negative values of type P or Z and positive values of type Z with a special character in the rightmost digit substituting for the minus or plus sign. This special character is called an overpunch character and varies according to the rightmost digit in the value. Table 3-10 “Overpunch Characters” shows the overpunch characters. For example, the number -104 is represented as 10M in QUERY. Table 3-10 Overpunch Characters
Table 3-11 “Output of P and Z Type Values” shows the representation of P and Z type values which depends on how you entered the value and which REPORT ALL option, if any, you used. In this table, P4 and Z4 data types are shown. The output may vary for other lengths. Table 3-11 Output of P and Z Type Values
Example 1
As shown in the example above, once entries have been found, REPORT ALL prints the value for each item to which you have access. Example 2
When REPORT ALL is used with a character, the data values are printed without the data item names and data set names. You can terminate the report at any time by entering CONTROL Y. |
|