Tohtoh
The command WRKJOBSCDE and ADDJOBSCDE may have a the *PUBLIC access set to *EXCLUDE. Check the object authority on both commands you are trying to use. EDTOBJAUT OBJ(*LIBL/WRKJOBSCDE) OBJTYPE(*CMD)
EDTOBJAUT OBJ(*LIBL/ADDJOBSCDE) OBJTYPE(*CMD)
If the access is set to *PUBLIC *EXCLUDE , then change the access to the command to allow your test profile *USE to these commands. Also special authority *JOBCTL only give you authority to change, display, hold, release,cancel, and clear all jobs that are running on the system. It also allows to you to start writers, and to stop active subsystems.
================================================================
The *JOBCTL special authority enables <i>capabilities</i> to perform various actions, but it doesn’t grant object authorities to anything. If the user doesn’t have object authority to use the WRKJOBSCDE <i>command object</i>, then it doesn’t matter what capabilities could be performed once the command executes.
Tom
Discuss This Question: