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 Himanshu,
you read and try to understand my answer. I posted my answer
is Those cases not possible only when we move 1234 to b data
item that is accepted otherwise move abcd to b data item
possible to get the abend soc7.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are different data types in cobol?
What is the LINKAGE SECTION used in COBOL?
What is the difference between comp and comp-3 usage?
How are the next sentence and continue different from each other?
What is the difference between Global and External Variables?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
How do you reference the following file formats from cobol programs?
What is amode(31)
What do you understand by psb and acb?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
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?
How do you define a variable of comp-1 and comp-2?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why would you use find and get rather than to obtain?