where to find for userstatus function

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pxraja
Participant
Posts: 142
Joined: Fri Mar 14, 2008 10:22 am

where to find for userstatus function

Post by pxraja »

Hi all,

I had gone through the posts, one of the post having functions used like,..

"userstatus(DSLink113.COUNT ) "

where to find for the userstatus function, I could not able to locate it in server 8.0.1, any one can help me by sending me the location of that function

thanks in advance
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's no such function "out of the box". It must have been a user-written function.

What is it you need to accomplish?

If it's to set the user status, use DSSetUserStatus. However this is a subroutine so, to use it from inside a job, you need to call it from a function.

Examples have been posted.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
baglasumit21
Participant
Posts: 132
Joined: Wed Mar 01, 2006 11:12 pm
Location: Pune

Re: where to find for userstatus function

Post by baglasumit21 »

pxraja wrote:Hi all,

I had gone through the posts, one of the post having functions used like,..

"userstatus(DSLink113.COUNT ) "

where to find for the userstatus function, I could not able to locate it in server 8.0.1, any one can help me by sending me the location of that function

thanks in advance
you can write a transformer routine by name userstatus which will call the routine DSSetUserStatus. then you can use the routine to set the user status of the job
SMB
Post Reply