COBOL (COmmon Business Oriented Language)
KEY FEATURES OF COBOL:-
- First language that was developed for Business application development, which can handle huge volume of data.
- Procedure Oriented Language. Program is segmented into several tasks. Each task is written as a Paragraph in Procedure Division and executed in a sequence defined by the user.
- Easy to learn, code and maintain.
COBOL CODING SHEET:-
The COBOL programs must be written on special coding sheets known as COBOL coding sheet. each line in COBOL coding sheet contains 80 positions and they are divided into various sections, they are
- SEQUENCE(1-6).
- INDICATOR(7).
- AREA A(8-11).
- AREA B(12-72).
- IDENTIFICATION(73-80).
SEQUENCE:- Page/line numbers Optional (automatically assigned by compiler).
INDICATOR:- The various characters used are Continuity(-), Comment(*), Starting a new page(/), Debugging lines(D).
AREA A:- Division, Section, Paragraph, 01,77 declarations must begin here.
AREA B:- All the other declarations/statements begin here.
IDENTIFICATION:- It will be ignored by the compiler but it will be visible in the source listing.
No comments:
Post a Comment