Cobol Level numbers and a question.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
User avatar
Atif Alam
Registered Member
Posts: 10
Joined: Fri Jan 17, 2014 2:05 pm

Cobol Level numbers and a question.

Post by Atif Alam »

Hi,

This might sound stupid to ask as it might be considered as rules of the language but why the level numbers are from 1 to 49 and next level numbers are 66,77,88? Are the labels 50 to 65, 67 to 76 and 78 to 87 are left for future purpose or was there some restriction? Do we have some documents available which keeps track of such details?

Thanks
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Cobol Level numbers and a question.

Post by zprogrammer »

This will answer a what type of question

http://publib.boulder.ibm.com/infocente ... 395191.htm
zprogrammer
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Cobol Level numbers and a question.

Post by Robert Sample »

One thing to remember is that COBOL dates back to the 1950's -- more than 50 years ago -- and hence the reasons certain decisions were made may no longer be available. Your question is one of the category where you can ask, but don't expect to get an answer -- 01 to 49, 66, 77, 88 are the variable levels in COBOL, period. Accept it and move on. If you really feel the need to learn more, you could contact the COBOL working committee via http://www.cobolstandard.info/ .
User avatar
Atif Alam
Registered Member
Posts: 10
Joined: Fri Jan 17, 2014 2:05 pm

Re: Cobol Level numbers and a question.

Post by Atif Alam »

Thanks Pandora and Robert.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”