FWiW, the errno 3401 [aka EACCES] equates to the msg CPE3401; the
symptom msgCPE3401 with the token Socket did not yield any hits for an
APAR in a web search so the unstated version\release is not a concern.
As a /permission/ error, the likelihood is that the condition will be
logged as an Authority Failure (AF) audit entry [given the *AUTFAIL
auditing is in effect when the issue is reproduced]. A review of the
information provided in the T-AF journal entry should reveal the
resource to which there is insufficient authority for the failing [but
unstated which] API request. HTH.
--
Regards, Chuck