Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us