What are different data types in cobol?



What are different data types in cobol?..

Answer / Amajad Khan

"In COBOL, there are several built-in data types. They include:
1. Numeric Data Types: Decimal (PIC S9(3)V99)
2. Alphabetic Data Types: Identifier (ID), Alphabetics (A...Z, a...z), and National Characters (any characters except numbers 0-9)
3. Picture Clause Data Types: These are used to define the format of data. For example, ZEROS (PIC X(15)) will contain only zeros in all positions."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what r the types of perform statement

4 Answers  


Explain call by context by comparing it to other calls.

1 Answers  


Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.

1 Answers  


what are the steps to sort in a cobol program?

2 Answers   Patni,


What are some examples of command terminators?

1 Answers  


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1 Answers   Valtech,


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


What is the file organization clause ?

2 Answers  


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


Categories