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 |
perform I from 0 by 1 until I=5?How maney times it will executes
What is Redefines clause?
What is 66 level number and where it is used in real time by software developers?
2 Answers ITC Indian Tobacco Company, TCS,
What is SDSF?
what is Pic 9v99 Indicates?
What is sqlca and why is it needed in any cobol-db2 program?
how to convert vsam table into DB2 table?
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
how to submit a jcl by cobol program. clear me with an example.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,