01 A pic 9(100) find record length of it

Answers were Sorted based on User's Feedback



01 A pic 9(100) find record length of it..

Answer / khasim

Syntax error. Numeric will not allo 100. Max limit is 18.

Is This Answer Correct ?    26 Yes 1 No

01 A pic 9(100) find record length of it..

Answer / ch.mohan

only 18 digiotes is valid

Is This Answer Correct ?    7 Yes 1 No

01 A pic 9(100) find record length of it..

Answer / dimpy19

----TRY
Compilation error ---
IGYDS1145-S More than 18 digit positions were specified in a "PICTURE
"PICTURE" string of "S9(18)" was assumed.

run error ----
03.21.40 JOB33062 £HASP165 SIQAGHB ENDED AT OSPART - ABENDED S706 U0000 CN(INT
ERNAL)
***

Is This Answer Correct ?    2 Yes 1 No

01 A pic 9(100) find record length of it..

Answer / sampoorna

syntax error.because it can't allow more than 18 digits.

Is This Answer Correct ?    2 Yes 2 No

01 A pic 9(100) find record length of it..

Answer / ravikiran

in cobol a numeric datatype that is a(9) can not hold more
than 18 digits

Is This Answer Correct ?    0 Yes 0 No

01 A pic 9(100) find record length of it..

Answer / vaneesh

Friends even numeric size can be varied with
COMPILER DYNM option

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

can we declare occurs in 01 level?

2 Answers   Temenos,


what is the default print format? in cobol

3 Answers   HSBC,


What does the IS NUMERIC clause establish ?

2 Answers  


can we write paragraph in area B .....

4 Answers   L&T,


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

0 Answers  






Mention the guidelines to write a structured cobol program?

0 Answers  


What is a report item?

0 Answers  


) how do u code after getting data?

0 Answers   IBM,


Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

2 Answers   RBS,


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  


What are the different rules of SORT operation?

0 Answers  


What are the access modes of START statement?

0 Answers  


Categories