Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X - 40.
The result in X is
Answer Posted / varun v
I agree with Ans #4. I also checked the same..Value of X
will be 40...
Please please verify it thouroughly before publishing the
answers...Wrong answers will mislead people..
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain how you can characterize tables in cobol?
what is the use of outrecord?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
State the various causes of s0c1, s0c5 and s0c7.
Mention the guidelines to write a structured cobol program?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Name the sections present in data division.
For rewrite, why is it mandatory that file needs to be opened?
How are the next sentence and continue different from each other?
What are different data types in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the different data types in cobol?
What is the difference between comp and comp-3?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there