2018.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobFileName" on
page142
Retrieves a string containing the job path and file
name located in the job spool folder.
Example Usage: str = Watch.getjobfilename
"Watch.GetOriginalFileName" on
page143
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 page143
Retrieves a string containing the job's metadata path
and filename. This is useful when using the Metadata
API in your script. (See Metadata API.)
Example Usage: str = Watch.getmetadatafilename
"Watch.GetJobInfo" on page145 Retrieves the content of a numbered job info (%1 to
%9).
Example Usage: str = Watch.getjobinfo(9)
"Watch.GetVariable" on page146 Retrieves the content of a local or global variable by
name.
Example Usage: str = Watch.getvariable("Varname")
"Watch.ExpandString" on
page148
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 138