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

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.

1115


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


How do u write test cases?

1638


Whats the difference between search & search ALL?

5264






Explain what you understand by passing by value.

701


What is the use of intialize verb?

750


Mention the guidelines to write a structured cobol program?

620


how do you reference the rrds file formats from cobol programs

800


What are the different rules of SORT operation?

699


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


What are literals?

632


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

1958


Why occurs cannot be used in 01 level in COBOL?

719


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

685