Solved

Cobol programs won't compile after installing .net visual studio 2003

Posted on 2004-10-13
9
664 Views
Last Modified: 2013-11-25
We have two developers that have an old version of cobol installed on their workstations to support a couple of old programs. However we are moving to .net and they recently installed all the new .net software and it has caused cobol to stop working.

They installed:
.net visual studio 2003
SQL server developer & SP3a
Visio 2003
and local IIS
On a windows 2000 pro sp4 machine.

The version of cobol is Micro Focus cobol 4 for windows (98/NT) but it works on 2k.

The error pops up when trying to compile a program using a batch file and the command:

CBLLINK %1 C:\ORAnt\PRO80\LIB\SQLLIB80.LIB,c:\cobol32\lib\cobintfn.obj

These are the errors:

ERROR: (1) Cannot open file :  adis.obj
ERROR: (1) Cannot open file :  adisinit.obj
ERROR: (1) Cannot open file :  adiskey.obj
ERROR: (1) Cannot open file :  adisdyna.obj
ERROR: (1) Cannot open file :  mffh.obj
ERROR: (1) Cannot open file :  xfhname.obj

Anyone have any ideas?

Thanks!
Mike
0
Comment
Question by:tonkajeep34
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 4

Accepted Solution

by:
reginab earned 500 total points
ID: 12303248
have you tried reinstalling the cobol, and that has failed, it seems the install has removed or altered the .obj's have you looked them up, are they still where they were?  did the .net install alter your path, you might need a manual adjustment to the path so the cobol files are found correctly.
0
 
LVL 1

Author Comment

by:tonkajeep34
ID: 12308418
I have not tried reinstalling yet, we did check and the files are still there(they could be corrupted though). ALso .net did alter the path to add it's info, however the cobol directories are still there. Which is what i thought the problem was...

 I'm looking for the CD's to resinstall, Any other suggestions while i'm looking?

Thanks
Mike

0
 
LVL 4

Expert Comment

by:reginab
ID: 12308615
well the other thing I was thinking about the path is that the cobol stuff might have been higher before, the .net stuff may have put themselves before it, and perhaps they have the some of the same files, and this could be a problem too. so you would want to locate the cobol stuff higher then.  but if that does not help then the files are likely corrupted.  and then I hope you find your disk :D
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:tonkajeep34
ID: 12309050
I'll have to try that and see what happens.

Yeah i hate it when software grows legs....
0
 
LVL 1

Author Comment

by:tonkajeep34
ID: 12415264
I tried moving the path with c:\cobol32\lib and c:\cobol32\exedll to the front of the path and after a reboot it still does not work. I found the CD's, however running the install keeps failing at the very end.

Any other Ideas?

TIA

Mike
0
 
LVL 4

Expert Comment

by:reginab
ID: 12415437
hmmm that is very interesting, well I wonder if there is an upgrade of the cobol install, since you have found the cd's likely they would have any code on or near them that you may or may not need.  is that a possible option.  I think you have some kind of compatibility issue here, were there any strange things with the install of
.net visual studio 2003
SQL server developer & SP3a
Visio 2003
and local IIS
On a windows 2000 pro sp4 machine.

wonder also if there is not a place, an options or a configurations where you could manually set these paths, if they are corrupted that might be an option too.  sorry not to be of more help.
0
 
LVL 1

Author Comment

by:tonkajeep34
ID: 12416155
Yes there is a newer version of the cobol software, however we are only using this for a product that we are phasing out and we don't want to spend $30,000 on it when we won't need it in another year....

I tried the install on an xp machine, really blew up there.

I'm now trying it on a windows 98 machine to make sure it works... Maybe i'll just put a 98 computer over there for them to use.

As far as the strange issue with .net and the other software, they went in just like they should and work fine.

Mike

0
 
LVL 4

Expert Comment

by:reginab
ID: 12416656
yep that is a shame, I hate it when they forget backwards compatibility, really burns me up.  I hope it goes together for you on the 98 machine.
0
 
LVL 1

Author Comment

by:tonkajeep34
ID: 12437653
It appears that .net and cobol (older versions anyways) do not play well together. I've installed it on a fresh 2k machine and it's working... they'll just have to deal with seperate machines.

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
count7 challenge 12 132
word0 challenge 3 112
delphi parse string to params 3 155
Problem to picture file 20 69
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question