8.6

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobFileName" on
page106
Retrieves a string containing the job path and file
name located in the job spool folder.
Example Usage: str = Watch.getjobfilename
"Watch.GetOriginalFileName" on
page107
Retrieves a string containing the job's original path
and filename. Note: this filename is generally no
longer available if it has been captured by Watch.
Example Usage: str = Watch.getoriginalfilename
"Watch.GetMetadataFilename"
on page107
Retrieves a string containing the job's metadata path
and filename. This is useful when using the Metadata
API in your script.
Example Usage: str = Watch.getmetadatafilename
"Watch.GetJobInfo" on page109 Retrieves the content of a numbered job info (%1 to
%9).
Example Usage: str = Watch.getjobinfo(9)
"Watch.GetVariable" on page110 Retrieves the content of a local or global variable by
name.
Example Usage: str = Watch.getvariable("Varname")
"Watch.ExpandString" on
page112
Retrieves the content of any Workflow string,
containing any variable available to Watch, including
data selections.
Example Usage: watchDate = Watch.expandstring("%y-%m-%d")
Page 102