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

How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,


what is the maximum error code in mainframe

2 Answers  


A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,






Why there is no questions in this column?

6 Answers  


i WANT ALL ERROR codes IN CICS and DB2

2 Answers  


What is level 66 used for ?

3 Answers   TCS,


How can you submit a job from COBOL programs?

2 Answers   ITC Infotech,


01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.

15 Answers   ACS,


Define in-line perform?

1 Answers  


can we use full outer join with cursors declared in cobol program?

2 Answers  


Categories