01 a pic 9(9v99)
01 b pic 9(9.99)
wht will be the stored vales in both cases
Answer Posted / 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 |
Post New Answer View All Answers
What kind of error is trapped by on size error option?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How do you define a variable of comp-1 and comp-2?
What are the different rules for performing sort operation?
Are you comfortable in cobol or jcl?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is comp-1 and comp-2?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between PIC 9.99 and PIC9v99?
What are the different types of condition in cobol and write their forms.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is Pic 9v99 Indicates in COBOL?
) what is the difference between AID and HANDLE AID?
What is length is cobol?