MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cobol compilation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
begin0404
Beginner


Joined: 14 Jul 2004
Posts: 11
Topics: 4

PostPosted: Wed Jul 14, 2004 11:54 am    Post subject: cobol compilation Reply with quote

hi,
I am new to mainframes.I am having MS cobol on my PC.Could any body provide me the info how to write,compile and run the programs.

Thank you!!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jul 14, 2004 12:08 pm    Post subject: Reply with quote

begin0404,

This might be a good starting point.

http://www.csis.ul.ie/cobol/default.htm

and your questions are answered here

http://www.csis.ul.ie/COBOL/Exercises/GettingStarted.htm

http://cobolreport.com/faqs/cobolfaq.htm#Section3


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
begin0404
Beginner


Joined: 14 Jul 2004
Posts: 11
Topics: 4

PostPosted: Wed Jul 14, 2004 1:37 pm    Post subject: Reply with quote

Thank you Kolusu for your reply.But I didn't find any information regarding the microsoft compile ,link and runnnig of the prgrams.
I am having the below compiler version.

Microsoft COBOL compiler Version 2.20

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jul 14, 2004 2:14 pm    Post subject: Reply with quote

begin0404,

Where did you download that compiler?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Thu Jul 15, 2004 5:42 am    Post subject: Reply with quote

Begin0404,

If you are having the MS compiler please use the following.

1)To compile your program use the following.

COBOL (PROGRMA NAME)

It will prompt you for .LST and another file.

Give the same name or some thing diffrent.

then to view your compile listing ,
2) TYPE *.lst (* is the name u specified in the previous for LST file)
here u can see the compile listing and bugs(if were there)

to run the program

3)runcob (program name)

Hope this will help.

Regards
Back to top
View user's profile Send private message
begin0404
Beginner


Joined: 14 Jul 2004
Posts: 11
Topics: 4

PostPosted: Fri Jul 16, 2004 6:16 am    Post subject: Reply with quote

Thank you bprasanna.

It worked fine for me.

thanks
Begin0404
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group