Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


if a>b

continue
display x.
dispaly y.
end-if

display 1

display 2.

display 3.
what should be my output ?

Answers were Sorted based on User's Feedback



if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / sharpmainframe

ERROR: BECAUSE OF MISMATCH END-IF

YOU NOT PUT ANY SCOP TERMINATOR(.) INBETWEEN IF-ENDIF STMT

Is This Answer Correct ?    6 Yes 0 No

if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / javed

There will be a compilation error.

Is This Answer Correct ?    0 Yes 0 No

if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what..

Answer / ravikrian

1

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


what is qualification on occurs clause?

2 Answers  


What are the pertinent COBOL commands?

0 Answers   Satyam,


Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

5 Answers   IBM,


how can we get current dat and time thru cobol pgm

3 Answers   DELL,


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


What are various search techniques in cobol? Explain.

0 Answers  


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


What type of SDLC u followed? Why?

0 Answers   IBM,


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


What is link edit in cobol?

0 Answers  


Categories