Pages

Wednesday, December 11, 2013

Authorization needed to run debug command in AS400

Hi Readers,

Today, I got a call from our developer who went on a long vacation. She returned back today and was unable to debug certain programs that she had created long back. In the meanwhile, we had a major hardware and software upgrade of our system.

So, when I heard this, my first quest was may be the default Authorization list that was created before, has been changed. Might be she has been removed from one of the authorization list. When I explored I did not find any changes and she had same level of authorization as her other team mates. Then I checked for the command she was running, I found her user profile missing in authorization list created to use STRDBG command. Here, is a list of authority that a user needs to be able to run Start Debug command.

  • *USE authority to the Start Debug (STRDBG) command.
  • *USE authority to the End Debug (ENDDBG) command.
  • *USE authority to the Start Service Job (STRSRVJOB) command.
  • *USE authority to the End Service Job (ENDSRVJOB) command.
  • Either *CHANGE authority to the program or Java class being debugged, or *USE authority to the program being debugged and *SERVICE special authority.
If the job that you are debugging is running under a different user profile than the user profile you use to sign on to the iSeries system from the debugger, the user profile that you use to sign on to the iSeries system from the debugger must have the following authorities:
  • *USE authority to the user profile that the job you are debugging is running under.
  • *JOBCTL special authority if you do not explicitly use fully qualified program names (library/program). In other words, if you use *CURLIB or *LIBL or you do not specify a library name, you need to have *JOBCTL special authority.
The group profile QPGMR gives you the correct authority to the STRDBG, ENDDBG, STRSRVJOB, and ENDSRVJOB commands and *JOBCTL special authority.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...