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



consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 1..

Answer / ram g

ANS B is correct...

Is This Answer Correct ?    15 Yes 0 No

consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 1..

Answer / rama krishna

b. Z replaces the value zero with blank spaces....

Is This Answer Correct ?    14 Yes 3 No

consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 1..

Answer / brajesh

2375 is the correct answer

Is This Answer Correct ?    0 Yes 0 No

consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 1..

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

consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 1..

Answer / abinand shetty

a) 123.75

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More COBOL Interview Questions

What guidelines should be followed to write a structured cobol prgm?

0 Answers  


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


What is binary search?

3 Answers  


can we use full outer join with cursors declared in cobol program?

2 Answers  


I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.

1 Answers   DSRC,






what is difference between the sysabend and userabend?

2 Answers  


What is static and dynamic call in cobol?

0 Answers  


PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?

5 Answers   TCS,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


In which area will you utilize 88 level items in cobol?

0 Answers  


Can anyone please give the example of Inline Perform.

6 Answers   TCS,


1.What is the limit of linkage section?

4 Answers  


Categories