compstat in a script as action of ON-DO

All questions about Control-M jobs definitions
Post Reply
jobschubse

compstat in a script as action of ON-DO

Post by jobschubse » 18 Jun 2013 2:19

Hi,
i would like to work with the variable compstat in a script wich is called as an do action in the steps tab (i cannot use the POSTPROC).

Sometimes i can get the correct value with the
ctmstvar ORDERID %%COMPSTAT
or an sql at the CMR_AJF table.
But sometimes the value of compstat is still in the initial 0 value.

Probably the postprocessing variables are not set, because the ON-DO action performs to early.

Any suggestions?

Thanks
Manfred

Post Reply