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


What is an in-line perform ?

Answers were Sorted based on User's Feedback



What is an in-line perform ?..

Answer / sreedevi

When set of statements are used only in one place then we
can group all of them within PERFORM END-PERFORM structure.
This is called INLINE PERFORM. This is equal to DO..END
structure of other languages.

PERFORM
ADD A TO B
MULTIPLE B BY C
DISPLAY 'VALUE OF A+B*C ' C
END-PERFORM

Is This Answer Correct ?    8 Yes 1 No

What is an in-line perform ?..

Answer / tiny

PERFORM ... ...

END PERFORM


When the body of the perform will not be used in other
paragraphs. If the body of the perform is a generic type of
code (used from various other places in the program), it
would be better to put the code in a separate para and use
PERFORM paraname rather than in-line perform.It increases
the readability of the program.

Is This Answer Correct ?    6 Yes 0 No

What is an in-line perform ?..

Answer / dk.kannan@gmail.com

in-line perform is nothing but to check the body of the
statement only.

Is This Answer Correct ?    1 Yes 1 No

What is an in-line perform ?..

Answer / santosh khot

In-line Perform is included in Cobol II this was not in
Previous version of Cobol. when dont want to take the
control to the paragraph want to execute same code for
number of times with in same in-line perform is used

Syntex is

perform until identifier
....
.....
.....
end-perform.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More COBOL Interview Questions

What are the different data types available in COBOL?

4 Answers  


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


wht is the diff b/w if and evaluate stmts ?

2 Answers   DELL,


Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.

3 Answers   TCS,


how do u indetify files succesfully executed or not ?

4 Answers   TCS,


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,


Write down the divisions of cobol program?

0 Answers  


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


can you declare redefine in level 01?

8 Answers   Patni,


How do you submit JCL via a Cobol program?

5 Answers   IBM,


how to transfer the file from pc to mainframe??

2 Answers  


Categories