Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


01 a pic 9(9v99)

01 b pic 9(9.99)

wht will be the stored vales in both cases

Answers were Sorted based on User's Feedback



01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / sudhir

r u new to cobol? i have never seen pic 9(9v99).

i dont know how Chandrakant Sinha answered it and how there are 5 votes saying his answer is correct

Is This Answer Correct ?    6 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / garry

IL-logical question.

Is This Answer Correct ?    0 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / vinith

@SUDHIR


CHNADRAKANTH SINHA HAS SAID THAT IT WUD USE 3 NYTES AND 4
BYTES OF STORAGE ASSUMING THAT (V) DOESNT TAKE SPACE WHILE
(.) DOES.........AND THAT IS RIGHT

BUT AS U SAID I HAVE NEVER SEEN CODE WITH PIC 9(9V99).THTAS
WRONG

Is This Answer Correct ?    0 Yes 0 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / chandrakant sinha

3 and 4

Is This Answer Correct ?    6 Yes 7 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / praveen

I also not seen such declation in COBOL.

Is This Answer Correct ?    0 Yes 1 No

01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases..

Answer / venkat

i think question is 01 a pic 9(9)v99 --it's occupy memory space is -11bites
&01 b pic 9(9).99--it's occupy memory space is -12bites

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More COBOL Interview Questions

I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?

1 Answers   CTS, HCL,


i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


which generation language is cobol

4 Answers   Kanbay,


What are the pertinent COBOL

0 Answers   IBM,






CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


What are VS COBOL 11 special features?

1 Answers  


When is a scope terminator mandatory?

3 Answers  


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


What is the difference between NEXT SENTENCE and CONTINUE?

2 Answers   Mphasis,






Categories