Page 1 of 1

where to find for userstatus function

Posted: Thu Aug 28, 2008 12:13 am
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

Posted: Thu Aug 28, 2008 12:17 am
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.

Re: where to find for userstatus function

Posted: Thu Aug 28, 2008 4:14 am
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