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

I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

0 Answers  


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


what is difference between the sysabend and userabend?

2 Answers  


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,






When is inspect verb is used in cobol?

0 Answers  


What is the use of LINKAGE SECTION?

1 Answers  


Difference between ps, esds

3 Answers  


can we redefine 77 level item is it possible

4 Answers   HCL,


can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?

3 Answers   IBM, Satyam,


How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)

3 Answers   IBM,


What is cobol?

0 Answers  


Categories