chulett wrote:How exactly are you setting USERSTATUS in the first job? FYI, you don't need that UserVariables stage, the Sequence can pass what you need directly. ...
Do you mean in expression type userstatus? Its =job1.$userstatus
chulett wrote:No, that's how you pass it from Job1 to Job2 in the Sequence. I want to know what you are doing inside Job1 to set it. ...
I have a routine call DSuserstatus( Arg1)
Ans=Arg1 that returns the value of the first job. then I assign that value to the uservariable in the useractivity as Job1.$Userstastus and pass it to the job2 as a job parameter
India2000 wrote:
I have a routine call DSuserstatus( Arg1)
Ans=Arg1 that returns the value of the first job. then I assign that value to the uservariable in the useractivity as Job1.$Userstastus and pass it to the job2 as a job parameter
Is this DSuserstatus( Arg1) a user defined routine? As mention by Ray there is no such in-bulit routine.
The easiest approach is -
Create a user define routine with a name something like "userstatus"
This routine should have Call DSSetUserStatus(Arg1)
Use/call this new user defined routine in the stage variable in the Job1