Strange Problem

Chris Kelleher

Administrator
Staff member
Hi,

Environment:
QAD 7.4g
Progress 7.3e
HP Unix

The problem...
I am trying to compile a program which gives me error 217 (Duplicate name in
DEFINE BUFFER, TEMP-TABLE or WORKFILE-tr_next_trn) in mfdeclre.i
I could not find any reason why it should give this error, as it gets
compiled fine when i am trying in same environment with QAD 7.4h.
To make it more tricky, i copied all the include files of QAD 7.4h into a
directory and tried to compile the program having these files in the
propath. The problem remains.

Your suggestions are badly needed.

TIA,

Kiran.

=============================================================
Kiran Marathe
Thirdware Solution Pvt. Ltd.
E-Mail: kiran@tspl.com
-------------------------------------------------------------
There are two theories to arguing with women. Neither one works.
-------------------------------------------------------------
=============================================================
  Kiran Marathe
  Thirdware Solution Pvt. Ltd.
  E-Mail: kiran@tspl.com <mailto:kiran@tspl.com>
-------------------------------------------------------------
There are two theories to arguing with women. Neither one works.
-------------------------------------------------------------
 

Chris Kelleher

Administrator
Staff member
If you look at mfdeclre.i you will see that tr_next_trn is defined
without the usual {1} shared option. The {1} is to pass the 'new'
option or not. At least that is the way it is in mine.
This effectively makes it so mfdeclre.i can only be included 1 time
whether you pass 'new' or not. By the way, this is contrary to
everything else in that include file so I doubt that they did it
intentionally.
Anyway your problem is probably that you are including mfdeclre.i
twice. It may be included from another include member. The most
likely one I am aware of is mfdtitle.i. If mfdtitle.i is used then
you don't need mfdeclre.i.
I don't know why though that you would get it in one environment
but not the other even after you copied it's mfdeclre.i. That
doesn't make sense.

Hope this helps,

Rick Kane
Applications Group Manager
Green Bay Packaging Inc.
Phone: (920) 433-5184
Fax: (920) 438-5184
E-mail: rkane@gbp.com
 
Top