can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.
Answer Posted / neha
a=00
b=xy
because redefines only defines the length of the variables ,not the particular value.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the different rules for performing sort operation?
Name the divisions, which are available in a cobol program?
What is the LINKAGE SECTION used in COBOL?
Name some of the examples of COBOl 11?
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
Which Search verb is equivalent to PERFORM…VARYING?
What is the utilization of copybook in cobol?
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?
Difference between array and sub-script ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are the different types of condition in cobol and write their forms.
What is the difference between next sentence and continue in cobol programing language?
What is rmode(any) ?
What do you understand by psb and acb?
How to print 10 to 1 if the input have only 10 digit number?