Page 1 of 1

UserStatus warning

Posted: Mon Feb 18, 2008 2:24 pm
by just4u_sharath
call DSSetUserStatus(Arg1)
Ans=Arg1

This is the code i have written to set user status. I am calling this as a function in transformer and passing the value to a sequentila file. But i will use this UserStatus Output in the next job using parameter jobname.userstatus parameter. But when i eecuted this routine independently its working. but when i execute it through a job i got the warning. Why i am getting this warning and how can i surpass this
"ODS30LoadMember(Xfm_On_Grp_Data).#1.Xfm_On_Grp_Data (DSSetUserStatus): Error reading Job Status record. JobNo = 255 JobName = ODS30LoadMember.#1 WaveNo = 1"
Imp Point is : i have created a parallel job. In that job i have used a basic transformer and in that transformer i am calling this server routine. Does this pose any problem as i am calling a server routine from parallel job

Posted: Mon Feb 18, 2008 3:48 pm
by ray.wurlod
I suspect that the problem is more likely related to the "#" character in your invocation ID. Can you try it with a different invocation ID, one that does not have a "#" character?

Posted: Mon Feb 18, 2008 5:39 pm
by just4u_sharath
ray.wurlod wrote:I suspect that the problem is more likely related to the "#" character in your invocation ID. Can you try it with a different invocation ID, one that does not have a "#" character?
I tried with other invocatio ID . But still the problem persists.
Can i use a server routine in parallel job. Because of the warning the user status is also not set. when i tried to use userstatus it is empty.

Posted: Mon Feb 18, 2008 5:54 pm
by chulett
Does this job need to be a parallel job? :?

Posted: Mon Feb 18, 2008 6:41 pm
by JoshGeorge
You can create a parallel routine and avoid using a Basic transformer. See if this POST helps. Call this parallel routine only once and read the value using a basic routine from sequence.