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
Which division and paragraphs are mandatory for a COBOL program?
how do you reference the printer file formats from cobol programs
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to print 10 to 1 if the input have only 10 digit number?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is rmode(24)
What is link edit in cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What are literals?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write some characteristics of cobol as means of business language.
What is comp-1 and comp-2?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?