Only two Batch Sign/On statements are required for a batch job. They are:
The following table shows the order and a brief overview of each Batch Sign/On statement. The next section in this chapter provides details for using the statements.
|
Statement |
Description |
DQL, SQL, or Both |
|---|---|---|
|
SIGN/ON |
(Required.) Specifies the user ID and password (if any). |
Both |
|
OPTION DDBASE= |
Names the database ID of the CA Datacom Datadictionary database if different |
Both |
|
OPTION QUERYLANG= |
Specifies language to use if user is authorized for both. Otherwise the last online mode at signoff will be used. |
Both |
|
OPTION AUTHID= |
Specifies the authorization ID to be |
SQL |
|
OPTION DIAGNOSTICS= |
With option CBS, tells CA Dataquery to produce Compound Boolean Selection diagnostic reports. If option RQT is |
DQL |
|
OPTION PLANOPTS,MSG= |
Tells CA Datacom/DB whether to |
SQL |
|
OPTION PLANOPTS,DISPLAY= |
Tells CA Datacom/DB whether to print preparation and execution time |
SQL |
|
OPTION PLANOPTS,OPT= |
Tells CA Datacom/DB whether to use user-specified join order or SQL-chosen join order. |
SQL |
|
OPTION STATISTICS=ON |
Provides statistical information on execution. |
Both |
|
OPTION WINDOWING=NO |
Specifies WRAP (NO) or NOWRAP (YES) selections for reports. |
Both |
|
OPTION QUERYTEXT=YES |
Prints text of query. |
Both |
|
OPTION PAGESTOGETHER=YES |
Print report pages together (YES) or print front pages and then back |
Both |
|
SELECT, UPDATE, DELETE, and INSERT |
SQL query keywords. Each must be on a separate line. |
SQL |
|
FIND and COUNT |
DQL query keywords. |
DQL |
|
EXECUTE |
(Required.) Executes the query or |
Both |
|
EXPORT |
Exports data found by the query to a sequential file. |
Both |
|
STORE |
Creates a new Personal Database Facility table containing query or dialog output. |
Both |
|
Copyright © 2014 CA.
All rights reserved.
|
|