Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Why is so much of COBOL in uppercase

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
sararaju

New User


Joined: 04 May 2005
Posts: 26

PostPosted: Wed May 11, 2005 4:41 pm    Post subject: Why is so much of COBOL in uppercase
Reply with quote

Why is so much of COBOL in uppercase?
Back to top
View user's profile Send private message
References
maverick05

New User


Joined: 14 Apr 2005
Posts: 35
Location: Hyderabad,India

PostPosted: Thu May 12, 2005 8:56 pm    Post subject: Re: cobol caps
Reply with quote

Convention boss
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Thu May 12, 2005 10:40 pm    Post subject:
Reply with quote

Quote:
Why is so much of COBOL in uppercase


That's because the first COBOL compiler was introduced in 1961. At that time there is no SMALL LETTER in the computer keyboard.
Back to top
View user's profile Send private message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 33
Location: Chennai

PostPosted: Fri May 13, 2005 5:27 pm    Post subject: Hi
Reply with quote

maverick05,

Try coding a COBOL program in all lower-case. You wont find any error. Its not a Convention
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3316
Location: Charlotte,NC USA

PostPosted: Fri May 13, 2005 5:40 pm    Post subject: Re: Why is so much of COBOL in uppercase
Reply with quote

Also, for a long time many printers only printed in upper-case characters.
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Fri May 13, 2005 9:18 pm    Post subject: Re: Why is so much of COBOL in uppercase
Reply with quote

I accept with you superk.

ANSI-68 COBOL introduced a facility to type in Small Letters also.

But Small letters are not in COBOL character set yet now.

So if you type in small letter, it's treated as the equivalent capital letter ASCII code by the COBOL compiler.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1508

PostPosted: Mon May 16, 2005 7:06 am    Post subject:
Reply with quote

The real reason was that the printers and the other equipment of the time made so much noise that the developers had to SHOUT. icon_smile.gif
Back to top
View user's profile Send private message
nave

New User


Joined: 16 May 2005
Posts: 10
Location: bangalore,india

PostPosted: Mon May 16, 2005 5:58 pm    Post subject:
Reply with quote

but cobol is not case sensitive.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1