IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Why is so much of COBOL in uppercase


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sararaju

New User


Joined: 04 May 2005
Posts: 25

PostPosted: Wed May 11, 2005 4:41 pm
Reply with quote

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

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Thu May 12, 2005 8:56 pm
Reply with quote

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

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Thu May 12, 2005 10:40 pm
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: 32
Location: Chennai

PostPosted: Fri May 13, 2005 5:27 pm
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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri May 13, 2005 5:40 pm
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: 568
Location: Bangalore

PostPosted: Fri May 13, 2005 9:18 pm
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: 1592

PostPosted: Mon May 16, 2005 7:06 am
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
Reply with quote

but cobol is not case sensitive.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top