if the job definition within AM includes prompts, the values will automatically be supplied at execution time
within the shell script, you can simply reference the supplied values by position i.e $1, $2
------------------------------
Cheers
Pat
------------------------------
Original Message:
Sent: 09-11-2020 04:03 PM
From: Ryan Lau
Subject: Passing Parameter from Application Manager to shell script
Hi Shelley,
How did you pass the parameters? I'm in a similar situation. I need to pass a parameter from my process flow to a shell script. Currently the parameters are being passed into the job using #2 and #3 from the main prompts. When the job runs I'd like to pull the values from #2 and #3 into my shell script. Any help would be greatly appreciated.
Thanks,
Ryan
Original Message:
Sent: 02-24-2020 03:04 PM
From: Taylor
Subject: Passing Parameter from Application Manager to shell script
I figured out what I was doing wrong and all is working as I need it to.
Original Message:
Sent: 02-21-2020 12:14 PM
From: Taylor
Subject: Passing Parameter from Application Manager to shell script
Is there a way to pass a parameter from Application Manager to a shell script? I see that you can choose awsqlp for a parameter to pass to an sql script but I need this to work for a .shl script.