job parameter
Posted: Fri Sep 24, 2010 10:57 am
Hi,
Can anybody tell me how to pass value returned by a unix script as a job parameter?
Can anybody tell me how to pass value returned by a unix script as a job parameter?
Code: Select all
dsjob ... -param retValue=$(Unix_Script)
thanks Anbu... Suppose I am using exec command stage for the same and the next job in the seq is user activity . how do i pass then ?anbu wrote:Code: Select all
dsjob ... -param retValue=$(Unix_Script)
what do i give in that? parameter name?anbu wrote:Use commandOutput of Exec activity
Code: Select all
<Exec_Activity_Name>.$CommandOutput
Craig,chulett wrote:Don't try to type it in manually, use the "..." Parameter Helper to make the proper choice and fill it in for you. ...
Thanks a lot!!!chulett wrote:Yes. It can only return one result but you could parse one of multiple delimited values from there for different parameters. ...