Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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 system. This command provides a way to check the security of your communications configuration on the system.
The Print Communications Security command will create two spooled output files containing communications security information. The first spooled output file will contain a report generated by the Display Configuration List (DSPCFGL) CL command. This report will contain the entries currently in the APPN remote configuration list QAPPNRMT. If the QAPPNRMT configuration list does not exist on the system then no report will be printed. The second spooled output file contains the security attributes of the *DEVD, *CTLD and *LIND objects on the system.
Restriction: You must have *ALLOBJ and *IOSYSCFG, or *AUDIT special authority to use this command.
The spooled output file containing the *DEVD, *CTLD and *LIND objects will contain two reports. The first report (Full Report) will contain all of the communications objects and will print the security attributes of each object. The second report (Changed Report) will contain 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' will be printed but there will be no objects listed.
The first report will contain the entries from the APPN remote configuration list object QAPPNRMT. If the QAPPNRMT configuration list does not exist then no report will be printed.
The second report will contain the information listed below. The report lists *DEVD, *CTLD and *LIND object types. Some fields may be blank or set to zero if the field does not apply to the type of object listed in the report.
*DEVD object types:
The reports will contain the following information:
*CTLD object types:
The reports will contain the following information:
*LIND object types:
The reports will contain the following information:
The file QSECCMNOLD in library QUSRSYS contains information from the last time the PRTCMNSEC command was run for a library. System file QASECCMN in library QSYS with format name of QSECCMN is the model file for the QSECCMNOLD file.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CHGRPTONLY | Changed report only | *NO, *YES | Optional, Positional 1 |
Top |
Specifies whether just the changed report should be printed.
Top |
PRTCMNSEC
This command prints both full and change report for the communication security information.
Top |
Top |