Ok then I'm not getting this right. I do not have debug in the h spec and I have *nounref defined but a couple of variables that are not used are still appearing in the compile listing

I was under the understanding they should not

Sent from my iPhone

On Dec 6, 2012, at 9:36 AM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

On 12/6/2012 10:22 AM, Rpglist wrote:
If I understood your explanation correctly if I have *nodebugio or
*debugio on the H spec the *nounref will not remove the unused fields or
variables correct?

No, it's not related to OPTION(*debugio) or *nodebugio. It's related to
the DEBUG keyword.

If you have DEBUG, DEBUG(*YES), or DEBUG(*INPUT), then any fields that
appear on I specs will be considered "referenced".

The debugio option only controls whether you will get breakpoints on I
and O specs in the debugger.

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page