Move Zeroes to I
move 5 to j
perform para1 varying I from 10 by -2 until I = 0
display j.
para1.
Add 5 to j.
What’ll be the value after execution of display stmt.
A) 35
B) 40
C) 30
D) 25
please explain how?
Answer Posted / shivakumar deshpande
Gayathri is correct ie Answer -3 is correct
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is a SSRANGE and NOSSRANGE?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between goback, stop run and exit program in cobol?
What is difference between static and dynamic call in cobol?
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 do you reference the ksds vsam file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is a report item?
What is the difference between binary search and sequential search?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between Call and a Link?
What are the rules of the move verb?