SAPI Task (CADZSAPx) Security Violations
search cancel

SAPI Task (CADZSAPx) Security Violations

book

Article ID: 23916

calendar_today

Updated On:

Products

Dispatch Output Mgmt Output Management Document Viewer Output Management Web Viewer

Issue/Introduction

When starting one of the SAPI tasks to process REPORT or MSGCLASS data out of the JES2 queue and into the LDS's, you are receiving JES $HASP186 security violation error messages. How to we resolve this error?

Resolution

If upon startup of a SAPI task to process data out of the JES2 queue and into the LDS files, the following message is being received:

$HASP186 xxxxxxxx OUTGRP=1.1.1 NOT SELECTED BY STCnnnnn/CADZSAPx. nnn CADZSAPx.SAPIMSG DUE TO SECURITY POLICY

The indication is that your SAPI task is not authorized by your EXTERNAL security package to process data out of the JES queue.

If you need to determine why JES issued this message or you are running in RACF warn mode and need to know if this message would also occur in fail mode, set:

$T DEBUG SECURITY=YES

The above forces the actual Security message to be displayed. The SAPI task (CADZSAPx) MUST be given the appropriate access to JES2 SPOOL by the SECURITY administrators.