View previous topic :: View next topic |
Author |
Message |
begin0404 Beginner
Joined: 14 Jul 2004 Posts: 11 Topics: 4
|
Posted: Wed Jul 14, 2004 11:54 am Post subject: cobol compilation |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
begin0404 Beginner
Joined: 14 Jul 2004 Posts: 11 Topics: 4
|
Posted: Wed Jul 14, 2004 1:37 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Jul 14, 2004 2:14 pm Post subject: |
|
|
begin0404,
Where did you download that compiler?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
bprasanna Beginner
Joined: 05 Sep 2003 Posts: 119 Topics: 33 Location: Hyderabad
|
Posted: Thu Jul 15, 2004 5:42 am Post subject: |
|
|
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 |
|
|
begin0404 Beginner
Joined: 14 Jul 2004 Posts: 11 Topics: 4
|
Posted: Fri Jul 16, 2004 6:16 am Post subject: |
|
|
Thank you bprasanna.
It worked fine for me.
thanks
Begin0404 |
|
Back to top |
|
|
|
|