An administrator can use the following command to terminate the SSHCLIENTSUPPORT library.
R *SYSTEM/SSHCLIENT/ADMIN("DISABLE NOW")
Example
R *SYSTEM/SSHCLIENT/ADMIN("DISABLE NOW") #RUNNING 1196 *SYSTEM/SSHCLIENT/ADMIN.: SSH Client is shutting down immediately #1187\1190 EOT (ADMINISTRATOR) *SYSTEM/SSHCLIENT/SUPPORT #1187\1189 EOT (ADMINISTRATOR) (ADMINISTRATOR)SYSTEM/SSHCLIENT/MANAGER ON DISK #ET=0.1 PT=0.0 IO=0.0
Use the following command to query the SSHCLIENT request files before restarting SSHCLIENT:
FILES *SYSTEM/SSHCLIENT/REQUEST:S
The information in the *SYSTEM/SSHCLIENT/REQUEST/= shows the state of each SSH request. If certain non-fatal errors occur prior the completion of an SSH request, the request might be retried in accordance with the values of MAX_RETRY and RETRY_INTERVAL.
After the completion of an SSH request, information pertaining to the success or failure of an SSH request is stored in the *SYSTEM/SSHCLIENT/REQUEST/= file for DEL_OLDREQ_DAYS days.
Use one of the following commands to view the information on a system-wide basis:
R *SYSTEM/SSHCLIENT/ADMIN("STATUS")
R *SYSTEM/SSHCLIENT/ADMIN("STATUS ALL")
Use one of the following commands to view the information on an individual SSH request basis:
R *SYSTEM/SSHCLIENT("STATUS <20 DIGIT REQUEST #>")
R *SYSTEM/SSHCLIENT("STATUS <20 DIGIT REQUEST #> DETAILS")
Note: | If you remove the *SYSTEM/SSHCLIENT/REQUEST and *SYSTEM/SSHCLIENT/REQUEST/= files before starting *SYSTEM/SSHCLIENT/SUPPORT, all the information pertaining to previous SSH requests are lost. |
An administrator might want to remove the SSHCLIENT request files before restarting the SSHCLIENT to avoid retrying requests that previously terminated with non-fatal errors.
An administrator can use the following CANDE command to remove the SSHCLIENT request files before restarting the SSHCLIENT:
REM *SYSTEM/SSHCLIENT/REQUEST, *SYSTEM/SSHCLIENT/REQUEST/=
Example
REM *SYSTEM/SSHCLIENT/REQUEST, *SYSTEM/SSHCLIENT/REQUEST/= # *SYSTEM/SSHCLIENT/REQUEST ON DISK REMOVED # 6 FILES IN *SYSTEM/SSHCLIENT/REQUEST/= REMOVED ON DISK
See, “Removing *SYSTEM/SSHCLIENT/REQUEST files” at the end of this section for a detailed example of removing SSHCLIENT request files.