Hello,

We have been upgrading from cach� 4.0.5 to cach� 5.0.4 recently...
Everything went fine, until today, when we upgraded one of our last servers,
we get a compilation error in next program:

TASK(Q,tijd)
 S name="RIMO "_$G(Q),task=##Class(%SYSTEM.Task).OpenId(name)
 s %TS=tijd D INT^%TI
 I $zobjstate(task) D
 . s task.DailyStartTime=%TN
 . s rc=task.%Save()
 E  D
 . s task=##Class(%SYSTEM.Task).%New()
 . s task.Name=name
 . s task.NameSpace="ADP"
 . s task.ExecuteCode="D ^YORIM03"
 . s task.RescheduleOnStart=1
 . s task.DailyStartTime=%TN
 . s rc=task.%Save()
 Q rc


the error is:
YORIM03.INT(10) : Expected end of line : 'rc=task.%Save()' : Error
Number:1025 Ref: TASK+5^YORIM03
 TEXT:  . s rc=task.%Save()
YORIM03.INT(18) : Expected end of line : 'rc=task.%Save()' : Error
Number:1025 Ref: TASK+13^YORIM03
 TEXT:  . s rc=task.%Save()

What's the problem? The same program compiles fine on all our other servers,
not on this last one.
Has this anything to do with a configuration setting?

I tried to search the archive, but it seems there's a bug in there... When I
click on the "+" sign to see the answers, I get a "do you wish to debug"
screen :(

TIA,

Fretje



Reply via email to