Hi,
In a COBOL program there is a paragraph which can not be accessed inside the progam. Basically it's a redundant code. Is there a compiler option with Enterprise COBOL which warns the programmer if a paragraph can not be accessed in the program? I seem to recall there was one but not what was it.
If anyone of you have used it, please help me.
Compiler option for warning if para is not accessed.
Re: Compiler option for warning if para is not accessed.
The COBOL user manual will have it. It decribes the compiling and linking process and, therefore, the options.
Regards
Nic
Nic
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Compiler option for warning if para is not accessed.
The OPTimizer will tell you. The manuals will tell you about that.
Note, there is no problem, in itself, with having a paragraph which is not referenced. And with any given data-combination, there may be paragraphs which are not used. The range of values within data-names may "logically" leave a pragraph entirely redundant, which the OPTimize may not/won't be able to spot.
Note, there is no problem, in itself, with having a paragraph which is not referenced. And with any given data-combination, there may be paragraphs which are not used. The range of values within data-names may "logically" leave a pragraph entirely redundant, which the OPTimize may not/won't be able to spot.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute