When using CICS Transaction Gateway for z/OS connecting via an RCI link and the security setting is ATTACHSEC+VERIFY, the following error occurs:
(request failed with ECI_ERR_SECURITY_ERROR ( rc-27))
This means that there is an issue with the SURROGAT Class.
To resolve this, you can either specify:
SURROGCHK=NO
...in the DFHXCOPT Options Table, or run the following commands:
TSS ADD(dept) SURROGAT(*.DFHEXCI) TSS PER(ALL) SURROGAT(*.DFHEXCI) ACCESS(READ)