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
Which mode is used to operate the sequential file?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Name the divisions, which are available in a cobol program?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
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...)
Can we redefine the field of x(200) to less than 200?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How you can characterize tables in cobol?
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 difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between Call and a Link?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What are 77 levels used for?