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
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How do u write test cases?
Define cobol?
how to refer the data field?
What is the difference between perform … with test after and perform … with test before?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What do you understand by psb and acb?
Explain how you can characterize tables in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Write the code to count the sum of n natural numbers.
what are decleratives in cobol?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
what is the difference between COBOL2 AND COBOL390?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the different rules of SORT operation?