Cobol 400

Online Tutorials of Cobol Language


Latest stories

Data Items


Data Items: Using PIC clause we define the size and type of the data item. Data item types and meaning: Char Type Meaning 9 Numeric This Char represents numeric value. V Numeric This Char represents Assumed decimal point. S Numeric This Char represents Sign of numeric should be left most character if can be – or +.Numeric data items are right justified. X Alphanumeric This...

Data Division


DATA DIVISION. Data division is used to define the variables used in the program including their names, lengths, storage formats. It consists of four sections − File section is used to define the record structure of the file i.e. the data sent to and comes from computer peripherals . Working-Storage section is used to declare temporary variables and file structures which are used in the program...

File control


File-Control it contains the information of the files used, their access mode, organization mode, record key, file status etc. It contains the below clauses: Select: used to identify the name of the file, where it is saved. Assign: used to associate a file with external file i.e. Physical file Access mode: used to specify how to access the file. Three modes: Sequential: used to access the files...

Divisions in cobol


There are four Divisions in COBOL: IDENTIFICATION DIVISION ENVIRONMENT DIVISION DATA DIVISION. PROCEDURE DIVISION   Divisions description in Brief:- IDENTIFICATION DIVISION It is the first and only mandatory division of every COBOL program. The programmer and the compiler use this division to identify the program. In this division, PROGRAM-ID is the only mandatory paragraph. PROGRAM-ID specifies...

Structure of a COBOL Program


  A brief introduction is given below about structure of COBOL program– Divisions it is a block of code, usually containing one or more sections, that starts where the division name is encountered and ends with the beginning of the next division or with the end of the program text. Sections are the logical subdivision of program logic. A section is a collection of paragraphs. Paragraphs are...


I   COBOL-Common Business Oriented Language was introduced for Business purpose applications by the CODASYL Committee (Conference on Data Systems Languages) in is a high level language, hence  the Cobol program can be executed on the system on which compiler is available.   COBOL programs are used globally in military agencies,insurance companies,banks and ...

Find us

Chennai ,Tamil Nadu,603103

Monday—Friday: 9:00AM–5:00PM
Saturday & Sunday: 11:00AM–3:00PM

About This Site

This site is to help the beginners in COBOL.