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 / sivaram
It goes into loop since the variable takes the 10 in it
every time when it performs.Generally the variable should be
decremented by 1 for correct results.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
For rewrite, why is it mandatory that file needs to be opened?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How can you get the ksds file records into your cobol program?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Why occurs cannot be used in 01 level in COBOL?
HOw can I get the negative sign while deduct high value from low value
What is length is cobol?
Write some characteristics of cobol as means of business language.
What is perform what is varying?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
Write a cobol program making use of the redefine clause.
What are the cobol coding sheets?
how do you reference the rrds file formats from cobol programs