5 pts.
 i Series Job Scheduler
is ther any automated way of removing userids from the job scheuduler once id has been removed from the system?

Software/Hardware used:
ASKED: March 11, 2009  7:15 PM
UPDATED: March 15, 2009  12:39 AM

Answer Wiki:
Hi, As far as I know there isn't any automated way of removing user profiles from the job scheduler. If there was - how would it work? The user profile associated with the job schedule entry may be necessary to grant certain authorities for the scheduled job. If the user profile is removed, and you change the scheduled job to use another profile, your job may no longer work correctly. I think this is something that will almost always need manual intervention to check that the scheduling is correctly assigned to another profile. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  March 12, 2009  11:05 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Job schedule entries live in QUSRSYS/QDFTJOBSCD, type *JOBSCD. The system provides APIs to access this object. It would require a bit of programming to build a utility to do what you want.

Check out the user written command CPYJOBSCDE published in the trade jouranls a few years ago. It will give you an idea of what would be required. It may have been created originally by the TAATOOLS guy.

 5,525 pts.

 

Interesting question –

I do know that when you delete a user profile you do have some options on changing ownership of objects that user owns. I have no idea on what will happen with job scheduler entries – and the user does not “own” them. . Gonna have to play with that one.

Regards
Mike

 2,725 pts.