PREP_PROCESS UNIXCMD failing since 12.3.6+HF.1
messages:
19/08/2021 17:26:13 U00010038 Runtime error: Could not create data sequence 'FILETRANSFER'. Status: '0000001820', return code: '0000000000'.
19/08/2021 17:26:13 U00029003 Cannot open file '/home/adminstudent/EAACONKT.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory'.
19/08/2021 17:26:13 U00011000 'REPORT' (RunID: '0001166027') could not be started on 'ADMINTRINING1236HF2'. See next message.
19/08/2021 17:26:13 U00011003 Job 'EVENT.UNIXCMD' (RunID '0001169084') on Host 'ADMINTRINING1236HF2' aborted (return code='0208'). Remote ID=0
Job script content(this script is ENDED_OK on 12.3.5 and lower agent):
:SET &LOGIN# = "LOGIN.DEFAULT"
:SET &AGENT#= "ADMINTRAINING2"
:PRINT &AGENT#
:PRINT &LOGIN#
:SET &HND# = PREP_PROCESS("&AGENT#","UNIXCMD",,"CMD=ls -l /opt/test","UC_LOGIN=&LOGIN#")
:PROCESS &HND#
: SET &check#=GET_PROCESS_LINE(&HND#)
:print &check#
:ENDPROCESS
Release : 12.3, 21.0
Component : AUTOMATION ENGINE
Software Bug
The issue has been confirmed to be a bug and is fixed with the following releases:
12.2.11 UNIX Agent
12.3.8 UNIX Agent
21.0.1 HF1 UNIX Agent