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 / abinand shetty
a) 123.75
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
In which area will you utilize 88 level items in cobol?
how do you reference the rrds file formats from cobol programs
Whats the difference between search & search ALL?
Which division and paragraphs are mandatory for a COBOL program?
How to print 10 to 1 if the input have only 10 digit number?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
In COBOL programming, what is PERFORM? What is VARYING?
) what is the difference between AID and HANDLE AID?
How to know whether the module is dynamical or statistical?
What is the difference between comp and comp-3 usage?
What are the different open modes available in cobol?
Write a program that uses move corresponding.
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
what happens if parmparameter passes zero bytes to the program