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


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

1896


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

1933


What is a SSRANGE and NOSSRANGE?

823


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.

934


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657






What is the difference between goback, stop run and exit program in cobol?

932


What is difference between static and dynamic call in cobol?

777


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.

3720


how do you reference the ksds vsam file formats from cobol programs

666


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


What is a report item?

741


What is the difference between binary search and sequential search?

643


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


What is the difference between Call and a Link?

700


What are the rules of the move verb?

708