Debugging Your Application With Query Commands

How to:

Reference:

You can use query commands to display information about your metadata, data sources, language environment, and WebFOCUS. This is useful for determining any aspects of your application that may be preventing the proper behavior of your application. You can query your environment with a query command executed in WebFOCUS.

The result of a query command is returned in your browser window or as a comment in the HTML file. Use the applicable web browser functions to view the HTML comments (for example, View Source in Microsoft Internet Explorer).

Syntax: How to Issue a Query Command

? query [filename]

where:

query

Is the subject of the query.

filename

Is the name of the file that is the subject of the query. This parameter applies to only some queries.

To list the query commands, type a question mark in a procedure.

Reference: Query Command Summary

The following is a list of query commands. This topic contains a detailed description of each.

Query Command

Description

? COMBINE

Displays a list of combined file structures.

? DEFINE

Displays currently active virtual fields created by the DEFINE command or attribute.

? SET EUROFILE

Lists fields currently available to you.

?F

Lists fields currently available.

? FDT

Displays physical attributes of a FOCUS data source.

?FF

Lists field names, aliases, and format information for an active Master File.

? FILE

Displays the number of segment instances in a FOCUS data source and the last time the data sources was changed.

? FILEDEF

Displays the current logical names assigned by the FILEDEF command.

? FUNCTION

Displays functions created with the DEFINE command.

? HOLD

Displays fields described in a HOLD Master File.

? JOIN

Displays JOIN structures that exist between data sources.

? LANG

Displays information about National Language Support.

? MDI

Generates statistics and descriptions for multi-dimensional indexes.

? n

Displays an explanation of an error message (n represents the number of the error message).

? PATH

Displays the current search path.

? RELEASE

Displays the release number of your product.

? REMOTE

Displays the values of the remote servers.

? SET

Displays parameter settings that control WebFOCUS.

? SET GRAPH

Displays parameter settings that control graphs produced with the GRAPH command.

? SET NOT

Produces a list of SET commands that cannot be set in a specific area.

? SITECODE

Retrieves the site code of the connected server.

? STAT

Displays statistics about the last command executed.

? STYLE

Displays the current settings for StyleSheet parameters.

? SU

Is communication available to the SU machine.

? USE

Displays data sources specified with the USE command.

? &&

Displays values of global variables.