in cobol perform stmt whether it first checks the condition
or not
Answers were Sorted based on User's Feedback
Answer / pradeep reddy
in cobol perform statement first checks the
condition ,condition is false then checks the statement ,
condition is true control goes outside
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / srinivasa yadav
CONDITION IS TESTED FIRST, IF THE CONDITION IS FALSE THE
CONTROL WILL GO TO THE BODY OF LOOP.
IF THE CONDITION IS TRUE THE CONTROL WILL COME'S OUT FROM
THE BODY OF THE LOOP.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / deepa
If TEST BEFORE option is used the condition is checked
first.
If TEST AFTER option is used the condition is checked later.
Default is TEST BEFORE
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sruthi
it will check condition frist if the condtion is false
contrl goes to body of the loop, if the condtion is true
contrl will goes to end perform
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manivannan m
In line perform is not checks the condition first.
Regards,
Manivannan M
Note: Ples correct it, if it is wrong
Is This Answer Correct ? | 0 Yes | 2 No |
can we use reference modification an arry.
what is record label is empty or standard in file description of data division?
in the TIME parameter we r giving hours r minutes
what is the use of keep and pass in disp
what are the isolation levels and where we use it in the db2 program
What is the difference between goback, stop run and exit program in cobol?
What is different between variable length and fixed length?
How to convert bunch of words in a line to relvant ASCII values?
how do you reference the printer file formats from cobol programs
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
where will u code file status ?