Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Interesting facts about COBOL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Harsha.

New User


Joined: 13 Aug 2007
Posts: 5
Location: Bangalore.

PostPosted: Thu Aug 14, 2008 4:17 pm    Post subject: Interesting facts about COBOL.
Reply with quote

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
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 14, 2008 5:05 pm    Post subject: Re: Interesting facts about COBOL.
Reply with quote

Hi,
Harsha. wrote:
Hi to all, HAPPY INDEPENDENCE DAY ( INDIA)
Jai Hind.. icon_smile.gif

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.. icon_smile.gif
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... icon_razz.gif


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
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Thu Aug 14, 2008 6:14 pm    Post subject: Reply to: Interesting facts about COBOL.
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Thu Aug 14, 2008 6:20 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 14, 2008 6:29 pm    Post subject:
Reply with quote

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.. icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 14, 2008 6:43 pm    Post subject:
Reply with quote

Robert Sample wrote:
Actually, the GO BACK is not required.
BTW, is it coded correctly..?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Aug 14, 2008 7:27 pm    Post subject:
Reply with quote

nice catch Anuj.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 18, 2008 12:59 pm    Post subject:
Reply with quote

Catching my own fault was easy.. icon_smile.gif.. 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
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Mon Aug 18, 2008 8:30 pm    Post subject: Reply to: Interesting facts about COBOL.
Reply with quote

hi,

this program when compied will generate all cobol error messages icon_idea.gif

remembered reading this thread in interview section IDENTIFICATION

Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Mon Aug 18, 2008 8:36 pm    Post subject: Reply to: Interesting facts about COBOL.
Reply with quote

hi Anuj,

These days we're used to SO MUCH cut & paste .......... icon_lol.gif

i bet it has been years since you coded GO BACK ( ....oops GOBACK)

just kidding icon_eek.gif

atleast these make us to sit back & wonder !
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 19, 2008 11:08 am    Post subject: Re: Reply to: Interesting facts about COBOL.
Reply with quote

Hi,
rakesha.hg wrote:
this program when compied will generate all cobol error messages icon_idea.gif
Why this seems to be an idea to you, this is a fact.. icon_biggrin.gif
Quote:
remembered reading this thread in interview section IDENTIFICATION
Sharp memory You got, how much RAM do you have..?.. icon_razz.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Aug 19, 2008 11:15 am    Post subject: Re: Reply to: Interesting facts about COBOL.
Reply with quote

Hi,

Well, when I was a kid, my mumma told me that my name is - Anuj

And years later..I still spell it correctly.. icon_smile.gif, 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.. icon_razz.gif
Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Tue Aug 19, 2008 12:03 pm    Post subject: Reply to: Interesting facts about COBOL.
Reply with quote

hi anuj,

Quote:
Sharp memory You got, how much RAM do you have..?..


well i work on mainframes ......... in Terrabytes icon_lol.gif



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 .... icon_razz.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us