Previous Topic: STORE - Create a Personal Table from OutputNext Topic: TIME - Display Time and Date


SUBMIT - Begin Batch Execution

Purpose

Entering the SUBMIT command and a query name on the command line and pressing Enter displays the batch execution panel containing the query name. You can use that panel to submit the query for offline (batch) execution. If you enter the SUBMIT command without an operand and no query is currently active, CA Dataquery displays the batch execution panel with no entry in the Execute Query Named field. If you have accessed a query during this CA Dataquery session, and you enter SUBMIT *, CA Dataquery displays the batch execution panel with ACTIVE-QUERY in the Execute Query Named field, meaning the last query you accessed can be executed.

You can type over any entry in the Execute Query Named field. See Panels for detailed information about the Batch Execution panel.

When to Use It

To submit a query, whether active or not, for batch execution.

Syntax

Enter

With

When You Want to:

SUBMIT

*

Display batch execution panel for the active query, if any, so you can re-execute the query with different specifications.

SUBMIT

query name

Display batch execution panel containing operand query name.

SUBMIT

No operand

If no active query, display batch execution panel containing no query name. If a query is currently active, display batch execution panel for the active query.

Example

=> SUBMIT Current Dataquery FIND/SELECT Statistics. ------------------------------------------------------------------------DQEB0 DATAQUERY: FIND STATISTICS QUERY NAME: USER-SAMPLE ----------------------------------------------------------------------------- NUMBER REQUESTED: ALL COMPLETION DATE: 06/04/88 NUMBER FOUND: 97 COMPLETION TIME: 14:25:46

Result

=> ------------------------------------------------------------------------DQEN0 DATAQUERY: BATCH EXECUTION ----------------------------------------------------------------------------- Enter name of query to submit: ACTIVE-QUERY Select the type of execution: X Immediate _ Defer execution until time __ : __ Enter the name of the JCL member to use: $$DQJCL Select the report type: X Detail and totals _ Detail only (no totals) _ Totals only (summary) _ Suppress report Enter the name for an output set to export print data to a sequential file or leave blank for no export: _______________ Select the export output type: _ Detail _ Totals ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> SUBMIT PORT