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

What should be the sorting order for SEARCH ALL?

5 Answers  


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

3 Answers   TCS,


How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast

1 Answers  


What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?

4 Answers  






in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


What do you understand by psb and acb?

0 Answers  


S9(5)V9(2) occupies how many bytes memory ?

6 Answers   Cap Gemini,


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  


TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


what is jcl approach for programming?

4 Answers   IBM,


Categories