Help me out with the cobol compiler



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Help me out with the cobol compiler

Postby abhijith » Sun Apr 20, 2008 2:32 pm

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
abhijith
 
Posts: 2
Joined: Sun Apr 20, 2008 12:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Help me out with the cobol compiler

 

Re: Help me out with the cobol compiler

Postby CICS Guy » Sun Apr 20, 2008 11:28 pm

I can't help you directly, but try a Google search on 'COBOL compiler' and find some other sources......
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: Help me out with the cobol compiler

Postby dick scherrer » Mon Apr 21, 2008 8:32 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Help me out with the cobol compiler

Postby abhijith » Fri Apr 25, 2008 1:31 pm

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
abhijith
 
Posts: 2
Joined: Sun Apr 20, 2008 12:08 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post