I HAVE FOLLOWING DECLARATION.
02. A PIC X(10) VALUE 'XXXXXXXXXX'.
02. B REDEFINES A.
05. C PIC X(3).
05. D PIC X(3).
05. E PIC 9(3).
IN MY PROG, I HAVE
MOVE 1 TO E.
DISPLAY A.
WHAT WILL BE DISPLAYED AS A RESULT OF THIS?
PLEASE EXPLAIN THE ANSWER. THANKS.
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
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?
What is the usage of comp fields in cobol?
What are the different data types in cobol?
how do you reference the variable block file formats from cobol programs
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How are the next sentence and continue different from each other?
What is the difference between comp and comp-3 usage?
how do you reference the variable unblock file formats from cobol programs
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the local-storage section?
When is inspect verb is used in cobol?
what is the use of outrecord?
how do you reference the printer file formats from cobol programs