SFTP_JAVA and FTP_JAVA prompts that use environment variables do not resolve

Document ID : KB000087797
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :
Java job fails.

After upgrading to AM v8.0.15 environment variables used in prompts no longer resolve for the SFTP_JAVA and FTP_JAVA jobs. 
Environment variables are written to the pm file in the $AW_HOME/run directory and then set and exported when the job runs.  JAVA jobs run through the RMI/AgentService process and do not execute a pm file.  Environment variables were never intended to work within a prompt of a JAVA job.  It is recommended that a substitution variable be used instead of an environment variable for all JAVA jobs, which will be evaluated when the JAVA job runs.

Cause type:
By design
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Version(s):
Additional Information:
Workaround :
Refer to Description.