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 |
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the use of EVALUATE statement?
what are the isolation levels and where we use it in the db2 program
what is mainframe? what is the mainframe software ? what is use in s/w field?
What will happen if we generate GDG +2 version instead of +1 version?
in how many mode we can open a file ?
what is ASRA, AEY9?
How to retrive the 9th records out of ten records using the cobol program ?
How many bytes do a s9 (7) comp-3 field occupy?
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
How to display string in the reverse order using occurs clause?