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 / 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

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

Post New Answer

More COBOL Interview Questions

tell me about examine inspect and evaluate ?

2 Answers   CTS,


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?

2 Answers   TCS,


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,






how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


how do u list the abended jobs?

1 Answers   IBM,


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


Write down the divisions of cobol program?

0 Answers  


why we are using picture clause in the cobol programs?

2 Answers  


i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?

2 Answers  


how to move the records from file to array table. give with code example

0 Answers   ADP, Syntel,


Categories