435 pts.
 DSPLOG and all security error msg related
Hi, how can I display all the security errors (not authorized, user profile disabled, etc) from the qhst, I know some cpf but not all of them. Thank you guys in advance.

Software/Hardware used:
ASKED: February 5, 2009  3:58 AM
UPDATED: October 21, 2009  11:23 PM

Answer Wiki:
The quick way to view one of your request, user profile disabled, is to use DSPMSG QSYSMSG. If it doesn't exist, just CRTMSGQ. Hi, i might be wrong, but as far as i know, it can be done only by QAUDJRN , i.e by Audit Journaling and enhanced DSPLOG. ============================================================= Since most authority failures, etc., simply won't be shown in QHST, it's not very useful to look there. E.g., try using UPDDTA against a file that you aren't authorized to update. The command will throw an authorization error, but there will be nothing in QHST. The audit journal is the correct source for information of this type. This assumes, of course, that auditing is turned on. If it isn't, there's not much point in searching for failure notices. Tom
Last Wiki Answer Submitted:  October 21, 2009  11:23 pm  by  TomLiotta   107,915 pts.
All Answer Wiki Contributors:  TomLiotta   107,915 pts. , harisudhan21   995 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

If you do not know all the CPF error messages you can do a WRKMSGD and go down the list to see which ones you want to filter for in the QHST log.

CPFADFA 30 User not authorized to program.
CPFAE5C 40 Object authority value not valid.
CPFAE5D 40 Data authority value not valid.

Hope this helps.

TPinky

 4,165 pts.

 

Thank you a lot guys, I do not have right to work with the journal, the Tpinky’s tip will work great. Again, thank you both.

 435 pts.

 

I found out that if we enter a command and press F4 and then F1 on the top, at the bottom there is a list of CP, I forgot that (I’m an old guy).

 435 pts.