beautypg.com

HP NonStop G-Series User Manual

Page 177

background image

QUERY Command

EDIT Command Summary

4–98

058061 Tandem Computers Incorporated

Examples

1.

The command:

*QUERY

returns information about the current file in the following format:

FILE

$volname.subvolname.filename, setoption,

setoption,

SPACE USED

end-of-file / filesize SLACK percentage

where:

$volname.subvolname.filename

is the full name of the current EDIT file. See “How EDIT Files Are
Named” in Section 6 for information on EDIT file names.

setoption, setoption,

is information on each of the possible set options.

end-of-file

is the relative byte address of the current end-of-file location.

filesize

is the maximum size of the file in bytes.

percentage

indicates the unused portion of the file between file byte zero and the
end-of-file location.

(See “Compressing Space in an EDIT File” in Section 6 for an example
of why and how to use the QUERY command to determine file size.)

This manual is related to the following products: