consider two data items
77 W-A PIC 9(3)V99 VALUE 23.75
77 W-B PIC ZZ9V99 VLAUE 123.45
after the statement
MOVE W-A TO W-B
what will be W-B's value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
Answer Posted / rama krishna
b. Z replaces the value zero with blank spaces....
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is the usage of comp fields in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to know whether the module is dynamical or statistical?
explain sorting techniques in cobol program?
Define cobol?
What is amode(31)
What is the difference between comp and comp-3 usage?
Difference between array and sub-script ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How are the next sentence and continue different from each other?
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 are various search techniques in cobol? Explain.
What are the cobol coding sheets?
What is amode(24)?