Duong_Nguyen-Nhat_2335

How to make Actions in ARA version 5 work in ARA version 6.

Discussion created by Duong_Nguyen-Nhat_2335 on Sep 16, 2016
Issue:

Customer using version 5 actions and they update their ARA from Version 5 to Version 6. When they execute the existing actions, they got the error "Changing the host is not allowed”.

Solution:

To make the existing actions from ARA version 5 work in ARA version 6. We have to login in Automation Engine User Interface and modify the variable HEADER.WINDOWS.USER.PRE as below:

!Windows header include :SET &CHECK_PREP_PROCESS# = SYS_ACT_ME_NAME() :SET &CHECK# = STR_STARTS_WITH(&CHECK_PREP_PROCESS#, "PCK") :IF &CHECK# EQ "N" :IF &CHECK_PREP_PROCESS# <> "EVENT.WINCMD" OR "FILE.BACKUP.WINDOWS" OR "FILE.ROLLBACK.WINDOWS" :INCLUDE UC4_SL.JOBI.PREPARE_JOB :ENDIF :ENDIF
and HEADER.UNIX.USER.PRE as:

!unix header include 
:SET &CHECK_PREP_PROCESS# = SYS_ACT_ME_NAME() 
:SET &CHECK# = STR_STARTS_WITH(&CHECK_PREP_PROCESS#, "PCK") 
:IF &CHECK# EQ "N" 
:IF &CHECK_PREP_PROCESS# <> "EVENT.UNIXCMD" OR "FILE.BACKUP.UNIX" OR "FILE.ROLLBACK.UNIX" 
: INCLUDE UC4_SL.JOBI.PREPARE_JOB 
:ENDIF 
:ENDIF 


Otherwise, the prepare job include runs twice: the first time started by either the HEADER.WINDOWS.USER.PRE or HEADER.UNIX.USER.PRE script and a second time started by the package's action.

Outcomes