Re: End user jobs
- From: "JW" <janwillem.delange@xxxxxxxxxxxxxxxxx>
- Date: Sun, 25 Jun 2006 11:42:56 +0200
"Rob" <rob.hough@xxxxxxxxx> schreef in bericht
news:1151110225.297586.187880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi,
I am new to the iseries and have been asked to write a few CLP's to do
a specific task. I've managed to get everything working except one
thing. I need to end all the jobs owned by a specific user and can't
seem to figure it out without resorting to using menu you get from the
wrkactjob command. Any help would be appreciated.
-Rob
Rob,
I created a small CLLE program for that. You can use the following API's
Create User Space (QUSCRTUS) List Job (QUSLJOB) Retrieve User Space
(QUSRTVUS) Retrieve Job Information (QUSRJOBI) and KILL teh specific jobs.
There is very good example in the InfoCenter, this is better then and much
faster then using spooled files. To re-use all the API is a good idea to put
all API's in a separate module.
Jan Willem
.
- Follow-Ups:
- Re: End user jobs
- From: Brad
- Re: End user jobs
- References:
- End user jobs
- From: Rob
- End user jobs
- Prev by Date: Re: Object lock during JDBC connection
- Next by Date: Re: End user jobs
- Previous by thread: Re: End user jobs
- Next by thread: Re: End user jobs
- Index(es):
Relevant Pages
|