in cobol perform stmt whether it first checks the condition
or not

Answers were Sorted based on User's Feedback



in cobol perform stmt whether it first checks the condition or not..

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

in cobol perform stmt whether it first checks the condition or not..

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

in cobol perform stmt whether it first checks the condition or not..

Answer / raghunathareddy

first cond checks

Is This Answer Correct ?    2 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

Answer / suvarna

first checks the condition

Is This Answer Correct ?    2 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

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

in cobol perform stmt whether it first checks the condition or not..

Answer / garry

@Deepa,

You are correct!

Is This Answer Correct ?    0 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

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

in cobol perform stmt whether it first checks the condition or not..

Answer / raju

hi deepa..

can u give a brief description abt ur ans

& how to set TEST BEFORE option or TEST AFTER OPTION

Is This Answer Correct ?    0 Yes 0 No

in cobol perform stmt whether it first checks the condition or not..

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

Post New Answer

More COBOL Interview Questions

perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


What is Redefines clause?

8 Answers  


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?

13 Answers   IBM,


what is Pic 9v99 Indicates?

2 Answers  






What is sqlca and why is it needed in any cobol-db2 program?

1 Answers  


how to convert vsam table into DB2 table?

1 Answers   IBM, Wipro,


How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?

3 Answers   Cap Gemini, CTS,


I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


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?

0 Answers   HCL,


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,


Categories