PRTCMNSEC (Print Communications Security)
PRTCMNSEC Command syntax diagram
Purpose
The Print Communications Security (PRTCMNSEC) command allows you to print a report containing the security attributes of the *DEVD, *CTLD and *LIND objects currently on the iSeries 400. This command provides a way to check the security of your communications configuration on the iSeries 400.
The Print Communications Security command creates two spooled output files containing communications security information. The first spooled output file contains a report generated by the Display Configuration List (DSPCFGL) CL command. This report contains the entries currently in the APPN remote configuration list QAPPNRMT. If the QAPPNRMT configuration list does not exist on the system then no report is printed. The second spooled output file contains the security attributes of the *DEVD, *CTLD and *LIND objects on the system.
The spooled output file containing the *DEVD, *CTLD and *LIND objects contains two reports. The first report (Full Report) contains all of the communications objects and prints the security attributes of each object. The second report (Changed Report) contains the communications objects that have changed since the PRTCMNSEC command was last run. If the PRTCMNSEC command was not previously run, there will be no 'Changed Report'. If the command has been previously run but no communication object information has changed then the 'Changed Report' is printed but there are no objects listed.
Restrictions: You must have *ALLOBJ and *IOSYSCFG special authority to use this command.
Optional Parameters
- CHGRPTONLY
- Specifies whether just the changed report should be printed.
*NO: The full and changed reports are printed.
*YES: Only the changed report is printed.
Example for PRTCMNSEC
PRTCMNSECBoth the full and change report will be generated for the communication security information.
Error messages for PRTCMNSEC
*ESCAPE Messages
- CPFB307
- Command &1 in use in another job.