查看log时错误Not authorized to display job log

时间:2016-08-25 ┊ 阅读:3,134 次 ┊ 标签: 系统 , 配置 , 问题

We cannot see the job log because we have no *ALLOBJ special authority, but the profile who submitted the job has it. if do not want someone have *ALLOBJ authority, but want he can see the log, we can run below command by system admin profile (who has the *SECADM special authority)to let us has the authority to see the job log only, just replace my id USERID to a user id then can also let they see the job logs.
you also can revoke the authority by changing the command’s parameters to *NONE and run it again.

Commands:
CHGFCNUSG FCNID(QIBM_ACCESS_ALLOBJ_JOBLOG) USER(userid) USAGE(*ALLOWED)

about command DSPJOBLOG:
The Display Job Log (DSPJOBLOG) command shows commands and related messages for a job that is still active when its job log has not been written. This command also shows commands for a job on a job queue that has not started processing.
This command is used to monitor the progress of a job.
Note: This function can also be accessed through the Display Job (DSPJOB) and Work with a Job (WRKJOB) commands.

Restrictions:
To display a job log, you must have job control (JOBCTL) special authority, or the job must have the same user name as the user running the DSPJOBLOG command.
To display a job log for a job that has all object (
ALLOBJ) special authority, you must have *ALLOBJ special authority or be authorized to the All Object Job Log function of the OS/400 through iSeries Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_ACCESS_ALLOBJ_JOBLOG, can also be used to change the list of users that are allowed to display a job log of a job with *ALLOBJ special authority.
Top

文章评论

添加新评论

温馨提醒:如果您是第一次在本站留言,需要审核后才能显示哦!

相关文章

ValueError: Error getting directory

ValueError: Error getting directory

ssl证书过期了 明明自动renew的 然后看log已经好久没更新成功了 查半天是当前server不信任远程连接 只能自己改代码 报错: 21-12-17 13:01:11 Generate CSR...amkevin.csr amkevin.csr generated. /home/www...
阅读全文>>
Introduction to ILE RPG Activation Groups

Introduction to ILE RPG Activation Groups

Learn how activation groups can help your ILE RPG programs run more efficiently, how to specify the type of group to use, and closing and reclaimin...
阅读全文>>
T480自动关机无法启动(解决办法)

T480自动关机无法启动(解决办法)

周五升级更新后,用一会就关机,还开不了,怎么按开机键也没有反应。 周六折腾一上午,拔电源,断电,20秒复位,把电池都拿下来了。都不行。 下午实在没办法了,给售后打电话让拿去检测一下。 然后拿售后去了,给检测一会没问题,说内存不干净给擦一下好了,开机正常了。 付款50块检测费,开心的拿回家,一...
阅读全文>>
Office 2016 Client Software License Management Tool

Office 2016 Client Software License Management Tool

Office 2016 Client Software License Management Tool Usage cscript ospp.vbs /Option:Value ComputerName User Password ComputerName: Name of remote c...
阅读全文>>
office2016 产品已激活 却同时显示需要激活(解决办法)

office2016 产品已激活 却同时显示需要激活(解决办法)

直接上命令吧: c:\Program Files\Microsoft Office\Office16>cscript.exe ospp.vbs /dstatus Microsoft (R) Windows Script Host Version 5.812 版权所有(C) Microso...
阅读全文>>