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
 

 

Why is so much of COBOL in uppercase

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    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

maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

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: 568
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: 32
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: 4648
Location: Raleigh, 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: 568
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: 1592

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
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
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
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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