error G5005 Invalid structure redefinition error using COMT in procedure

Hi there. I wrote a procedure which includes using COMT to solve optimization problems with multhithreads.

When I called this procedure, I got the following error message:

error G0505: 'DS': Invalid structure redefinition

error G0505: 'PV': Invalid structure redefinition

error G0505: 'comtControl': Invalid structure redefinition

What might cause this problem?

Thanks!

1 Answer



0



Most any time that get a redefinition error, you need to use the GAUSS new statement to clear out previous definitions. If you add:

new;

to the top of your program, that should prevent this problem

aptech

1,503

Your Answer


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy