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
Write the code to count the sum of n natural numbers.
What is link edit in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
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...)
how to convert the recors form vsam file to db2 table tru file aid
What is a scope terminator give example?
Explain the configuration section of a cobol program with examples of syntax.
how do you reference the printer file formats from cobol programs
example for sub strings ? and refernce modifications whit output pls
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What do you understand by psb and acb?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the usage of comp fields in cobol?
IF I mention stop run in CICS what happens?