Hi there,
I am trying to rename a file using the below VBScript. It doesn't seem to be working, can you help me find where I am going wrong? cheers
if Watch.GetJobInfo(8) =< 900 then
Watch.SetVariable "FileName", "Name_1"
else
Watch.SetVariable "FileName", "Name_2"
end if
Basically Jobinfo 8 is a numerical number,
if Jobinfo 8 is less than or equals to 900,
then Set variable "FileName" as "Name 1",
else Set variable "FileName" as "Name_2"
The "FileName" Variable is later used to name a file.
Cheers.