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 does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


What is the compute verb? How is it used?

0 Answers  


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


how we rectify soc4 and soc7 error in project(need real time answer)? please reply

3 Answers   HCL, Wipro,


What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,






what is the default print format? in cobol

3 Answers   HSBC,


What are the different rules to perform a Search?

0 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

11 Answers   FirstApex, NIIT,


Whats the difference between search & search ALL?

3 Answers   IBM,


explain sorting techniques in cobol program?

0 Answers  


Categories