77 I pic 99 value 5
Perorm para-A I times.
Para -A.
move 10 to I.
How many times the para-A will be executed.?
Answer Posted / prachi
when it will execute perform statement for the first time,
the value in i is 5..Then it is moving 10 to i ..So when it
will execute the perform 2nd time...that time the value of
i is 10..so Para-A will be performed 11 times...
Please let me know my ans is correct or not...
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write the code implementing the perform … varying.
) how do u code after getting data?
What are literals?
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.
What is the Purpose of Pointer in the string?
Explain the configuration section of a cobol program with examples of syntax.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are the different rules to perform a Search?
For rewrite, why is it mandatory that file needs to be opened?
In COBOL, what is the different between index and subscript?
How do you reference the following file formats from cobol programs?
what is difference between cobol and cobol/400
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how to access the file from prodution from changeman tool and to submit a file to production