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 |
what are the working storage fields in BMS macro?
how to code in cobol while using variable block file?
What are the different data types available in COBOL?
What is the difference between binary search and sequential search?
Syntax for JCLLIB & JOBLIB???
How to define a array dynamically.....
Describe the difference between subscripting and indexing ?
i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.
what are the steps to sort in a cobol program?
What are 77 levels used for?
can we use full outer join with cursors declared in cobol program?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?