Scripts are usually run with series of arguments that modify how the script is executed. The arguments described in this section are common in a large number of Talis scripts.
Where an argument performs a different function to the one described here, the details will be stated within the script details.
|
Argument |
Description |
|
-a |
The -a argument allows you to append to the output file produced by the script, rather than overwriting it. |
|
-h |
The -h argument displays brief help on-screen about the arguments supported by the script. Note that the help text will also be displayed if an invalid command is given. |
|
-d |
The -d argument allows you to specify the database against which the report is to be run. If this argument is not given, then the default is defined by the TAL_DEFAULT_DBNAME environment variable. This will default to prod_talis if it has not been set already. |
|
-i |
The -i argument allows you specify the name of an input file to be used by the script. |
|
-o |
The -o argument may be used to specify the name of the output file generated by the script. |
|
-r |
The -r argument may be used to specify the report directory where the process will write its report file. If a report file of the same name already exists in the same directory, it will be renamed with a date/time extension. When not given, the report will be written to the directory specified by the $TAL_REP_DIR environment variable. |
|
-s |
The -s argument may be used to specify the data directory where the process will write its output file. If an output file of the same name already exists in the same directory, it will be renamed with a date/time extension. When not given, the report will be written to the default directory specified in the help. |
|
-u |
The -u argument instructs the script to update the database. If this argument is not specified, the script will run in report mode , and the database will not be updated. In report mode, the script merely identifies the updates which would occur; that is a report file is generated but the database is not updated. |
|
-v |
The -v argument specifies that a verbose report file should be generated. Verbose report files contain more detailed information than standard reports. |
|
report |
This is the Perl report generator, which runs against a set of pre-defined parameters for all MIS reports. |