This procedure describes how to define a database job with a script that is stored on a file system.
NOTES:
A block separator must appear on a new line at the end of each block.
Before you begin
Ensure that you have met the following requirements:
To define an SQL Script job:
The Select Connection Profile dialog box appears.
To retain comments in an SQL Script, see Retaining comments in an SQL Script and Embedded Query.
If the script content is select count(*) from $1, then $1 is the variable that requires a value in the Scripts Variables table.
Variables and the conventions of the SQL script are not displayed in the Control-M for Databases job properties pane.
From the Output format drop-down list, select an output format.
If you select CSV output format, define a CSV separator in the CSV Separator field. The CSV separator enables you to separate your output data with specific delimiter characters.
For more information about defining a job in the job properties pane, see Control-M User Guide.
Parent Topic |