Starting TN3270 a SEC6 Abend Occurs.
search cancel

Starting TN3270 a SEC6 Abend Occurs.

book

Article ID: 27019

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

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.

  1. Define the started task to the STC Table.
                   TSS ADD(STC) PROCN(TN3270) ACID(acid)
  2. Add OMVS segment information to the acid:
    1. TSS ADD(acid) UID(nn)
    2. UID(0) not required. A unique UID can be used.
    3. TSS ADD(acid) GROUP(xxxx)
    4. TSS ADD(acid) DFLTGRP(xxxx)
    5. TSS ADD(acid) PROGRAM('/bin/sh')
    6. TSS ADD(acid) HOME('/'))
    7. TSS MODI OMVSTABS
  3. Assign a master FACILITY to the started task acid via:
                   TSS ADD(acid) MASTFAC(fffffff) 
                   where 'ffffffff' is the FACILITY name being assigned.
  4. 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)
  5. 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)
  6. Permit the started task acid to resource "BPX.SUPERUSER” in resource class IBMFAC with READ access.
                  TSS PERMIT(acid) IBMFAC(BPX.SUPERUSER) ACC(READ)
  7. 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)