I have an Job named restart_job adnd below is the code with in the process tab:
:PRINT "BEGIN OF RESTART"
:SET &RET# = RESTART_UC_OBJECT ("RESTART_QUIZ2",LAST,R2,"ORIGINAL_SCRIPT,")
:PRINT "Iam being Restarted"
:PRINT " RSTART STATUS : &RET# "
This job is supposed to restart the below script object named "RESTART_QUIZ2" from restart point R2.
RESTART_QUIZ2 Script code:
:PRINT "Script start"
:PRINT "Point R1"
:RESTART R2 , "I'm being restarted"
:PRINT "Point R2"
:PRINT "Point R3"
:PRNT "Script end"
:SET &RET# = SYS_RESTART_POINT()
:PRINT "Script was processed from &RET# on."
Issue is: Each time I execute restart_job I receive an error as below:
6/19/2014 4:20:32 PM - U0011002 Job 'RESTART_JOB' (RunID '0002326438') on Host 'BOL3LUC401' ended normally. Remote ID=11880
6/19/2014 4:20:32 PM - U0010014 Activation of 'RESTART_QUIZ2' was aborted by :STOP.
I am not sure where did the STOP come from.
The purpose of this script is to
.Print out "I'm being restarted" if the object containing this code is restarted.