Page 1 of 1

Help me out with the cobol compiler

PostPosted: Sun Apr 20, 2008 2:32 pm
by abhijith
Hi Members...

I am Abhijith , doing my (1st year) Masters in computer applications , and we do have Cobol as an academic subject this time..and i am total newbie to World of cobol.. it has been a month or less since it has been introduced to us.. its pretty easy and easily understandable... We use Softek cobol v1.003 compiler under unix OS at our college labs , and tried hard searching for the same compiler but couldn't find anywhere.. some one suggested MS cobol -85 and i did download n tried working on it... n tried running the programs which we executed at lab using MS COB COMPiler,it gave 300 + errors and i am unable to trace what exactly is wrong , i tried copying the original *.cob file which was fine at our lab but compiling thru MS COB Showed up lots of errors(i did convert the *.cob file to dos using unix2dos) .........

I do request the board members to help me out for getting me a compiler..... (softek v1.0003 for dos ? )

even i am new to unix and i did find OPEN -COBOL 1.0 which works under UNIX But i dunoo how to install it on unix..
i tried hard harder and was successful partially it does compile ( $cobc filename.cob ) but executing ./filename shows error "cob.so" and shows some lib file missing ....

Please help me out.. i am sorry if i posted in wrong section ,

thanking you anticipation
abhijith

Re: Help me out with the cobol compiler

PostPosted: Sun Apr 20, 2008 11:28 pm
by CICS Guy
I can't help you directly, but try a Google search on 'COBOL compiler' and find some other sources......

Re: Help me out with the cobol compiler

PostPosted: Mon Apr 21, 2008 8:32 am
by dick scherrer
Hello abhijith and welcome to the forums,

Given that your lab system is a unix system and that you have an id, password, and some directories for your use on it you might consider connecting remotely and using the lab system rather than trying to create something on a different computer. You most likely have a telnet client on the other computer.

When moving cobol source from one platform to another, often, there are minor differences that cause many syntax errors.
On the issue of many errors, i'd suggest you make sure the code begins in the "A" or "B" area as required by the "new" compiler. Another cause of whole-sale errors if when one of the DIVISION statements is missing or mis-placed.

Re: Help me out with the cobol compiler

PostPosted: Fri Apr 25, 2008 1:31 pm
by abhijith
yes at our college we use telnet to connect to the servers and work on cobol or unix....

but we cannot connect from outside , i mean there's only LAn and its not possible to connect from outside.....

i tried googling a lot but no where i could find the (softek) compiler , ,,, and i was partially successfull executing programs on MS COBOL 85 , But there are lots of restrictions and differences working on softek and ms cobol.... my lab exams are starting from may 3rd week and i plz request the board members to help me out with the compiler,....

awaiting for anybody's help
thanking u in advance..
abhijith