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
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 |
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 |
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 ? | 1 Yes | 1 No |
what is soc7 abend?how u can trace it?
What are the differences between OS VS COBOL and VS COBOL II?
which is better either static call or dynamic call? and why?
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
what is the diff b/w select stsmt and cursor ?
Explain Restart Logic in Cobol?
Name the divisions, which are available in a cobol program?