IBM Support

IC81598: 4GL: WARNING #2177-D: LABEL "_EF0MCONT" WAS DECLARED BUT NEVER REFERENCED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling a 4GL program that contains a MENU, the following
    warning message is generated on HP Itanium:
    
    % c4gl test.4gl
    "test.ec", line 152: warning #2177-D: label "_ef0mcont" was
    declared but never
              referenced
      _ef0mcont:
      ^
    

Local fix

  • Compilation warnings can be suppressed by passing the "-w" flag
    to the compiler.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When compiling a 4gl application with MENU, an un-referenced *
    * variable was being used.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to 4GL 7.50.xC6 when available.               *
    ****************************************************************
    

Problem conclusion

  • The label should ideally be used only when CONTINUE MENU is used
    in 4GL program. As a fix, I have introduced a new variable that
    will check if CONTINUE MENU keywords is reached, and the
    variable is set to 1. This value is used to generate the label
    in the .ec file, and then reset again. I have tested this fix
    for using many CONTINUE MENUS statements in 4GL application.
    Fixed in 4GL 7.50.xC6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC81598

  • Reported component name

    IBM INFORMIX 4G

  • Reported component ID

    5724C6680

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-22

  • Closed date

    2012-10-31

  • Last modified date

    2012-11-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM INFORMIX 4G

  • Fixed component ID

    5724C6680

Applicable component levels

  • R750 PSN

       UP

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAVH7","label":"Informix 4GL"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"750","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 April 2023