Skip to main content

Compiler error on a variable INTERFACE-ID defined in wokring storage.

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Compiler error on a variable  INTERFACE-ID defined in wokring storage.

This has happened after a compiler upgrade to the latest version of the compiler.

Resolution:

INTERFACE-ID was added as a reserved word when support for the ISO2002 standard was introduced.

You can use the REMOVE directive in order to let your program compile or run. For example :-

      $SET REMOVE"INTERFACE-ID"

       working-storage section.

       01 INTERFACE-ID     PIC X(50).

       procedure division.

       start-section.

           move "hello" to INTERFACE-ID.

           stop run.

Old KB# 2070

0 replies

Be the first to reply!