what is the result of the following?
DIVIDE A INTO B GIVING C.
a.C=A/B
b.the reminder of B/A is stored in C
c.C=B/A
d.the reminder of A/B is stored in C
Answers were Sorted based on User's Feedback
Answer / sunaina
Here in the above formula, we are Dividing the value of B
by A, and storing the value into C.
Ex:
A=10
B=20
then
C= B/A i.e, C= 20/10
the value 2 is stored in C.
So the result is:
C=B/A.
| Is This Answer Correct ? | 17 Yes | 2 No |
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer
how do you reference the variable block file formats from cobol programs
can we use go to statement inline-perform?
How to remove 2 duplicate records and copy only one using job control language?
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
At the minimum, which division of COBOL is enough to be coded?
what is linkcard in cobol?
where did you see the information regarding abend codes in jcl?
What is a scope terminator? Give examples.
What guidelines should be followed to write a structured cobol prgm?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?