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 |
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
Can 88 level variable be declared in FD section..?
in cobol perform stmt whether it first checks the condition or not
What is comp-1 and comp-2?
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
how can u pass the values into db2 values from cobol ?
what is qualification on occurs clause?
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
What is difference between static and dynamic call in cobol?
What do you do to resolve SOC-7 error?
how do u link sub pgm to main pgm ?