When starting TN3270, a SEC6 abend may be observed:
DUMP TITLE=TN3270 V1R9 : Job(TN3270 ) *UNKNOWN
SYSTEM COMPLETION CODE=EC6 REASON CODE=0F01C008
ESM is Top Secret.
Environment
Resolution
The started task should be defined to the STC Table with an acid that has a valid OMVS segment.
Define the started task to the STC Table. TSS ADD(STC) PROCN(TN3270) ACID(acid)
Add OMVS segment information to the acid:
TSS ADD(acid) UID(nn)
UID(0) not required. A unique UID can be used.
TSS ADD(acid) GROUP(xxxx)
TSS ADD(acid) DFLTGRP(xxxx)
TSS ADD(acid) PROGRAM('/bin/sh')
TSS ADD(acid) HOME('/'))
TSS MODI OMVSTABS
Assign a master FACILITY to the started task acid via: TSS ADD(acid) MASTFAC(fffffff) where 'ffffffff' is the FACILITY name being assigned.
All users of TN3270 must have FACILITY(ffffffff) added to their accessor IDs. Alternatively, FACILITY(ffffffff) can be added to the ALL record. TSS ADD(acid) FACILITY(ffffffff)
Permit the started task acid to resource "BPX.CAHFS.SET.RLIMIT" in resource class IBMFAC with READ access. TSS PERMIT(acid) IBMFAC(BPX.CAHFS.SET.RLIMIT) ACC(READ)
Permit the started task acid to resource "BPX.SUPERUSER” in resource class IBMFAC with READ access. TSS PERMIT(acid) IBMFAC(BPX.SUPERUSER) ACC(READ)
Permit the started task acid READ access to resource "EZB.STACKACCESSS.xxxx.yyyyyyyy" in resource class SERVAUTH, where "xxxx" is the LPAR ID and "yyyyyyyy" is the TCP/IP STC PROCNAME. TSS PERMIT(acid) SERVAUTH(EZB.STACKACCESSS.xxxx.yyyyyyyy) ACC(READ)