Solved

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

Posted on 2004-10-13
9
661 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
  • 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dog bark java program 15 94
Secure coding guides/standards for Cobol programming 10 304
sum67 challenge 35 97
bunnyEars challenge 6 118
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…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now