77 a pic x(4) value '1234' -----> instead of this 'abcd'
77 b pic 9(4) value zeros.
move a to b
what is the answers for both cases?
IS it possible? Give me elementary move rules briefly......
Answer Posted / amarnath reddy
Hi,
That is wrong answer. we can get that result when we MOVE A
TO B. result is 1234.
because A is declared as alphanumeric and B is declared as
numeric but here A is intialized all numeric values(1234)
only and move to the B is also numeric So not possible to
get any abend.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Have you used comp and comp-3 in your project? And how?
What is comp-1 and comp-2?
What is Pic 9v99 Indicates in COBOL?
What is inspect in cobol ?
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?
Explain what you understand by passing by value.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
In which area will you utilize 88 level items in cobol?
how do you reference the fixed unblock file formats from cobol programs
Write the code to count the sum of n natural numbers.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
how do you define single dimensional array and multidimensional array in your cobol?
How many bytes S(8) comp field occupy and its maximum value?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how do you reference the rrds file formats from cobol programs