COBOL 6 compile in Endevor getting a ICH408I error
search cancel

COBOL 6 compile in Endevor getting a ICH408I error

book

Article ID: 115785

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Compiling a CICS COBOL program with COBOL v6.2.
When I add a program to Endeavor for the first time I get this message but the program compile clean..
 
ICH408I USER(ENDEVOR ) GROUP(PROG    ) NAME(ENDEVOR ACID        )  691
  CELHDCPP CL(DIRSRCH ) FID(E9C6E2F0F5F400FF0000000000010001)
  INSUFFICIENT AUTHORITY TO STAT
  ACCESS INTENT(--X)  ACCESS ALLOWED(OTHER      ---)
  EFFECTIVE UID(0000000401)  EFFECTIVE GID(0000000501)


 
any ideas?

Environment

COBOL v5 and higher

Cause

The FID referenced in the ICH408I were related to the submitter's HOME directory. The new COBOL compiler attempts several functions against the home directory of the submitter.

The Endevor alt id does not have execute access (since it is not the owner or in the group). 

Resolution

 Add a Language Environment DD statement to the COBOL compile step in the Endevor processors.
This DD statement looks like this:
//CEEOPTS DD DISP=SHR,DSN=some.pds(member)

This PDS member contains the following LE directive:
ENVAR(LIBPATH=/lib)

By defining the LIBPATH environment variable in this way, when the compiler invokes BPX1LOD to reference an LE DLL, the fetch search order no longer includes the submitter's Unix home directory, so no security violation occurs.
This change ONLY affects the COBOL compile step, and does not require  by default opening up READ access to everyone's USS HOME directory.