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 / ram g
ANS B is correct...
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Write a program to enter and display the names of students in a class using the occurs clause.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what is search and searchall?what is the diffrence between them?give an best example?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Difference between array and sub-script ?
how to move the records from file to array table. give with code example
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
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?
How do you define a variable of comp-1 and comp-2?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
In COBOL programming, what is PERFORM? What is VARYING?
What do you understand by psb and acb?