:ACTIVATE_UC_OBJECT with PASS_VALUES
search cancel

:ACTIVATE_UC_OBJECT with PASS_VALUES

book

Article ID: 90449

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

:ACTIVATE_UC_OBJECT with PASS_VALUES

Environment

Release: AOATAM99000-8.0-Automic-One Automation Tools-Application Manager
Component:

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.