How many times the loop runs here
01 a pic 9(2) value 1.
perform para1 until a=10
move 1 to a.
stop run.
para1:
move 10 to a.
Answer Posted / priyanka
Para1 would be executed 1 time. after 1st time the value of
a is 10 and it comes out of loop.
it move 1 to a and stop execution.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
Can you please let me know the centre name of INS certification in Kolkata.
What are the cobol coding sheets?
What is the difference between external and global variables in COBOL?
Which is not true about evaluate statement
What is the difference between next sentence and continue in cobol programing language?
how do you reference the rrds file formats from cobol programs
How to print 10 to 1 if the input have only 10 digit number?
What is the utilization of copybook in cobol?
how do you reference the ksds vsam file formats from cobol programs
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the local-storage section?
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.
What is report-item in COBOL?
Explain the configuration section of a cobol program with examples of syntax.
) How do u handle errors in BMS macro?