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
Answers were Sorted based on User's Feedback
Answer / rama krishna
b. Z replaces the value zero with blank spaces....
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / satish
z is numeric edited value so can.t initialize the value
so the question is wrong
pls check it pratically
| Is This Answer Correct ? | 0 Yes | 4 No |
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
If I want to increase the Limit in GDG. What should I do?
can we use full outer join with cursors declared in cobol program?
How are the next sentence and continue different from each other?
What is SET TO TRUE all about, anyway?
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
What is the different between index and subscript?
What is a scope terminator give example?
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,