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...


can we use go to statement inline-perform?

Answers were Sorted based on User's Feedback



can we use go to statement inline-perform?..

Answer / sandy

The below code is possible, if that is what asked.
1000-PARA
PERFORM VARYING
IF <CONDITION>
GO TO 1000-EXIT
END-IF
OTHER STATEMENTS.....
END-PERFORM

1000-EXIT
EXIT.

Is This Answer Correct ?    6 Yes 0 No

can we use go to statement inline-perform?..

Answer / suputhru

Yessssssssssssss!!!

Raveeeeee,shruti! we can use go to statement inline-perform.

If we use goto in inline then control will goto particular para and wont return.
thus control will comes from inline.

thus, no probs, u can use go to.
So please, don't give blindly answers.

-Sk

Is This Answer Correct ?    3 Yes 0 No

can we use go to statement inline-perform?..

Answer / ravi

No we cant.

Inline perform is - -> PERFROM END-PERFORM.

Is This Answer Correct ?    3 Yes 1 No

can we use go to statement inline-perform?..

Answer / mr.perfect

hello Suputhru ,

if you use GOTO statement inside the inline perform, the
control will go permanently to the GOTO statement.then what
about the other statements after END-IF, this will not
executed man. i think this is not good design of programmr.

Is This Answer Correct ?    1 Yes 0 No

can we use go to statement inline-perform?..

Answer / sruthi

Hi,
we can't use GO TO statement in in-line perform.goto
should be used with in the range of paragrafhs being
executed.
in-line syn is, perform--- end-perform.

Is This Answer Correct ?    3 Yes 3 No

can we use go to statement inline-perform?..

Answer / jswan

Yes you can, although that is not good programming practice.

Is This Answer Correct ?    0 Yes 0 No

can we use go to statement inline-perform?..

Answer / jswan

Yes you can but that is not good COBOL programming practice at all.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,


What is difference between static and dynamic call in cobol?

0 Answers  


COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

8 Answers   Barclays, IBM,


IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.

2 Answers   ADNA, CSC,


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

0 Answers  


i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

5 Answers   IBM,


wht r the advantages of 77 level number ?

8 Answers   TCS,


How can I tell if a module is being called DYNAMICALLY or STATICALLY?

3 Answers   CTS,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


Name the divisions in a COBOL program ?

7 Answers  


What is the difference between Structured COBOL Programming and Object Oriented COBOL ?

1 Answers  


Categories