Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

comp-5 redefination

$
0
0

Release: Net Express 5.1 .NET & Visual Studio 2012

While compiling the source from NE5.1 in Visual COBOL 2.2.1, we are receiving a warning for comp-5 redefinition.

The vaiables are defined as follows: 

               01  WS-MENU-ID      PIC S9(4) COMP-5.

               01  WS-FIELD-KEY REDEFINES WS-MENU-ID

                                       PIC S9(4) COMP-5.

               01  WS-BUTTON-ID REDEFINES WS-MENU-ID

                                       PIC S9(4) COMP-5.

This returns a warning about using this COMP-5 redefintion. Is there any way to remove these warnings? I do not want to suppress them. What are the implications it will have in code.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>