Thanks for your response.
To make myself clear, should I change the function to the following
I'm using Stage variables in Job-1 to call the function. How can I pass values to the 2 variables in this job?Call DSSetUserStatus("Arg1,Arg2")
Ans =(Arg1, Arg2)
Thanks
Yamini