Solved

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

Posted on 2004-10-13
9
671 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

624 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