What is the maximum length of a field you can define using COMP-3 in COBOL?



What is the maximum length of a field you can define using COMP-3 in COBOL?..

Answer / sruthy

18 decimal digits

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,






How to covert given string into ASCII value in COBOL/MF COBOL

3 Answers   CTS, IBM, iFlex,


Give some advantages of REDEFINES clause?

2 Answers   Syntel,


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


What is a subscript ?

3 Answers  


Define in-line perform?

1 Answers  


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

0 Answers  


Categories