Authorization Errors in Debug Control services
search cancel

Authorization Errors in Debug Control services

book

Article ID: 261318

calendar_today

Updated On:

Products

HB.js

Issue/Introduction

When starting up the function to check debug information, the following message appears and I cannot use the function.

 

Error message:

 

Environment

Release : 8.0

Cause

There is an additional level of security on the debug control to prevent users from capturing all of the screens and data. 
Need to add the SAF userid that is trying to use debug control between the = and &.

Resolution

Execute HBGC command in the HB.js region.
There should be a name/value pair called HBUSER_DEBUG_CONTROL=&.
Add the SAF userid that is trying to use debug control between the = and &.
If you have multiple userids that need to access Debug Control, you can separate them with a comma.

For example;
If userid is CICSUSER change it to HBUSER_DEBUG_CONTROL=CICSUSER& as follows.

HBGC command

Results

Insert CICSUSER

Enter and check the HBUSER_DEBUG_CONTROL=

 

Also, you can code an asterisk(*) in a development region so anyone can access Debug Control.
The HBGC command will only set the value of HBUSER_DEBUG_CONTROL till the region is restarted.
To keep the setting between restarts update the Prefix.CHJSPARM(HBR@INIT) parmlib member with the appropriate values.