:ACTIVATE_UC_OBJECT with PASS_VALUES

Document ID : KB000090449
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
:ACTIVATE_UC_OBJECT with PASS_VALUES
Resolution:
Detailed Description and Symptoms

If a jobplan starts a job with ACTIVATE_UC_OBJECT(...,PASS_VALUES) the variable which is turnover with :PSET is only available when the parent jobplan is NOT deactivated.?


Solution
The following opportunities make sure that the variable will be available for the child jobs
 
*) Set the option "automatically deactivate when finished" -> "Time delay" to 1 day in the register card attribute.
*) deactivate the option "Generate at runtime" in the called job.
*) use the command :wait xx after calling the job with ACTIVATE_UC_OBJECT(...,PASS_VALUES).
There is an own table to handle this situation in Version 9.00A. In this version the failure will not occur.
Another possibility is to use a VARA object and hand over the variable on this way.