Skip to main content

COBCH0005S User-name EIPRESP not unique

  • February 15, 2013
  • 0 replies
  • 3 views

Problem:

You may get this error if you have additionally defined and referenced variables of DFHEIBLK in your CICS program.

Resolution:

CICS preprocessor automatically inserts DFHCOMMAREA and DFHEIBLK copybook into Linkage Section of your Cobol program. Therefore DFHEIBLK variables may not be uniquely defined.

If you don't like the automatic insertion, you can use Compiler Directive /CICSECM(LINKAGE=NO).

Extract from Online Help:

LINKAGE

The CICS preprocessor LINKAGE option enables you to control whether or not the preprocessor inserts the DFHEIBLK and COMMAREA into a program's Linkage Section and updates the USING clause of the PROCEDURE DIVISION header

LINKAGE=NO Do not insert the DFHEIBLK and COMMAREA into a program's Linkage Section or update the USING clause of the PROCEDURE DIVISION header

LINKAGE=YES  Do insert the DFHEIBLK and COMMAREA into a program's Linkage Section and update the USING clause of the PROCEDURE DIVISION header. This is the default

You can shorten LINKAGE to LINK, YES to Y and NO to N.

For example, /CICSECM(LINKAGE=NO).

Old KB# 2442

#EnterpriseDeveloper
#MFDS