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


Please Help Members By Posting Answers For Below Questions

how to convert the recors form vsam file to db2 table tru file aid

2759


Explain how to differentiate call by context by comparing it to other calls?

683


What is Pic 9v99 Indicates in COBOL?

722


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.

1113


What is a scope terminator give example?

653






what is the difference between COBOL2 AND COBOL390?

2451


What is the problem of ordered sequential files access?

694


What are the pertinent COBOL commands?

2621


Which is not true about evaluate statement

1567


What is the difference between next sentence and continue in cobol programing language?

708


How many sections are there in data division in COBOL?

676


) How do u handle errors in BMS macro

1505


Whats the difference between search & search ALL?

5260


What is a report item?

737


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1951