IBM Support

IOException and 153158662 when configuring z/OS Connect EE to use audit interceptor

Question & Answer


Question

Why does the z/OS Connect Enterprise Edition (EE) audit interceptor fail with the following error in the log?
java.io.IOException: Failed to write SMF record __smf_record errno/errno2 return code 153158662

I am configuring z/OS Connect EE to use the audit interceptor, with the aim of generating SMF records.

Answer

This specific error can occur as a result of missing a one-off configuration step for the SMF component of z/OS. The audit interceptor included with z/OS Connect Enterprise Edition generated SMF records of type 123 (subtype 1). If you do not include type 123 in your SMF configuration, then the __smf_record function fails with return code JRSMFNotAccepting (0x406).

This value is the lower half-word of the (decimal) return code:

153158662 = 0x09210406

The explanation for JRSMFNotAccepting is:
SMF is not recording SMF records of the type and subtype requested.

To resolve this problem, add record type 123 to your SMF configuration options; for example, include "123" in your SYS(TYPE(...,123,...)) statement, in PARMLIB.

Variations on this specific pattern can be diagnosed from the UNIX System Services Messages and Codes, under topic z/OS UNIX reason codes.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

zCEE

Document Information

Modified date:
14 February 2023

UID

dwa1293150