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 |
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
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
what is sysncpoint?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
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
What is the difference between goback, stop run and exit program in cobol?
Mention the guidelines to write a structured cobol program?
HOw can I get the negative sign while deduct high value from low value
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 ......
What are 77 levels used for?
how would find total records in files using seqientional
Write the syntax of a two dimensional array?