Parameter for Input Value on General Tab of Job Properties
Posted: Thu May 01, 2008 4:38 pm
Hi All,
When I specify an after-job subroutine on General tab of Job Properties page, there is an option to provide an argument(s) for that subroutine in "Input Value" field;
The problem is that it only accepts hard coded values and I could not find any way to use either job parameter or environment variable as it's probably treated as something completely outside of the job itself.
So, when I migrate my project from dev. to test/prod. I'll need to manually change data in "Input Value" which I'm trying to avoid.
As an example, I call DSJobReport as my after-job subroutine and provide path for output status report in "Input Value" field in form of env. var.; Here is the error message:
AfterJob (DoJobReport): Failed to open directory $AGH_OUTPUT_DIR
Is there any known workaround?
Thanks,
Roman L.
When I specify an after-job subroutine on General tab of Job Properties page, there is an option to provide an argument(s) for that subroutine in "Input Value" field;
The problem is that it only accepts hard coded values and I could not find any way to use either job parameter or environment variable as it's probably treated as something completely outside of the job itself.
So, when I migrate my project from dev. to test/prod. I'll need to manually change data in "Input Value" which I'm trying to avoid.
As an example, I call DSJobReport as my after-job subroutine and provide path for output status report in "Input Value" field in form of env. var.; Here is the error message:
AfterJob (DoJobReport): Failed to open directory $AGH_OUTPUT_DIR
Is there any known workaround?
Thanks,
Roman L.