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
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Why occurs cannot be used in 01 level in COBOL?
How to know whether the module is dynamical or statistical?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How you can read the file from bottom?
Explain about different table spaces.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Explain what you understand by passing by value.
How to remove 2 duplicate records and copy only one using job control language?
What are the different open modes available in cobol?
Describe the cobol database components?
What is the use of intialize verb?