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 had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,


The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,


what is sysncpoint?

1 Answers   IBM,


How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.

2 Answers  


A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,






What is the difference between goback, stop run and exit program in cobol?

0 Answers  


Mention the guidelines to write a structured cobol program?

0 Answers  


HOw can I get the negative sign while deduct high value from low value

0 Answers  


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

4 Answers   Accenture,


What are 77 levels used for?

0 Answers  


how would find total records in files using seqientional

1 Answers   HSBC,


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


Categories