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

if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

2 Answers   IBM, Steria,


what is MSGLEVEL?

1 Answers   IBM,


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


How to open and see copy book ?

3 Answers  


what is the difference between Plan & package

3 Answers   IBM,


Why there is no questions in this column?

6 Answers  


01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

13 Answers   HSBC,


HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


Categories