S047 abend while accessing a Sysout from TSO/ISPF using ACF2 security.
ACF2 has an option, NOAPFCHK, which needs specified in the SAFDEF. The option prevents checking for APF authorization. Checking for AFP authorization in a TSO/ISPF environment will cause an S047 ABEND.
See View online documentation External Security and scroll down to Implementing External Security for ACF2
Notify ACF2 about the SAF calls that View will be making, for example:
//EXAMPLE JOB ACCOUNT,PROGRAMMER //SAFD EXEC PGM=IKJEFT01 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * ACF SET CONTROL(GSO) INS SAFDEF.CHA1VIEW ID(CHA1VIEW) PROGRAM(SAR-) RB(SAR-) ? NOAPFCHK RACROUTE(REQUEST=AUTH,CLASS=CHA1VIEW,STATUS=ACCESS) /*