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


Please Help Members By Posting Answers For Below Questions

Write a cobol program making use of the redefine clause.

731


Whats the difference between search & search ALL?

5264


What are different data types in cobol?

689


Write down the divisions of cobol program?

671


What is the difference between comp and comp-3 usage?

679






What rules are to be followed while using the corresponding options?

638


Difference between array and sub-script ?

1164


Name the sections present in data division.

701


Give some examples of command terminators?

758


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


) How do u handle errors in BMS macro?

1427


In COBOL programming, what is PERFORM? What is VARYING?

670


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1956


Name the divisions, which are available in a cobol program?

685


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?

1806