View previous topic :: View next topic
|
Author |
Message |
Harsha.
New User
Joined: 13 Aug 2007 Posts: 5 Location: Bangalore.
|
|
|
|
Hi to all, HAPPY INDEPENDENCE DAY ( INDIA)
I Just want to know as much as Interesting Quotations, Facts and other items of COBOL. Let me start first
The COBOL language will continue to be widely used in business application development over the next 15- 20 years.
Thanks in advance for your Time. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Harsha. wrote: |
Hi to all, HAPPY INDEPENDENCE DAY ( INDIA) |
Jai Hind..
Quote: |
I Just want to know as much as Interesting Quotations, Facts and other items of COBOL. Let me start first |
You are giving a start to a very long, probably never ending thread..
Quote: |
The COBOL language will continue to be widely used in business application development over the next 15- 20 years. |
Unless IBM start using some other name for COBOL...
Well, how about this..
what is so special about this COBOL program without actually compiling it?
Code: |
IDENTIFICATION DIVISION.
PROGRAM-ID. ERRMSG.
GO BACK. |
There are many more to follow.. |
|
Back to top |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
Hi,
We will not be able to compile the pgm as this is not the valid paragraph name/also if we have to code GOBACK it shld start at area B.
These are the passing by thought came in my mind.
[/quote] |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Actually, the GO BACK is not required. The program can be compiled with just the first two lines. This is a special program compilation that generates all COBOL error messages (obviously with symbolics where substitutions occur in the actual error messages). It does not generate an executable program. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
ah .. Robert.. there are more tough things for you to do...this is easy for you .. I'll provide some questions for your stature as well, let others try on this.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Robert Sample wrote: |
Actually, the GO BACK is not required. |
BTW, is it coded correctly..? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
nice catch Anuj. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Catching my own fault was easy.. .. but this was for others to find out..
Well, I was thinking that TS would participate rather actively here in this thread but.. |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi,
this program when compied will generate all cobol error messages
remembered reading this thread in interview section IDENTIFICATION
|
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi Anuj,
These days we're used to SO MUCH cut & paste ..........
i bet it has been years since you coded GO BACK ( ....oops GOBACK)
just kidding
atleast these make us to sit back & wonder ! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
rakesha.hg wrote: |
this program when compied will generate all cobol error messages |
Why this seems to be an idea to you, this is a fact..
Quote: |
remembered reading this thread in interview section IDENTIFICATION |
Sharp memory You got, how much RAM do you have..?.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Well, when I was a kid, my mumma told me that my name is - Anuj
And years later..I still spell it correctly.. , I think I'm still not that habitual of
Quote: |
These days we're used to SO MUCH cut & paste .......... |
rakesha.hg wrote: |
i bet it has been years since you coded GO BACK ( ....oops GOBACK) |
it was a delibrate effort.. |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi anuj,
Quote: |
Sharp memory You got, how much RAM do you have..?.. |
well i work on mainframes ......... in Terrabytes
Quote: |
Well, when I was a kid, my mumma told me that my name is - Anuj |
well thats reverse in my case ....... mumma kept lokesh ........ i spell it rakesh & changed ma name to .... |
|
Back to top |
|
|
|