For what purpose is the Stage Variable is mainly used?

Showing Answers 1 - 2 of 2 Answers

shankar

  • Nov 18th, 2006
 

Stage variable is temporary storage memory variable, if we are doing caluculations repeatedly the result,we can store in stage variable.

  Was this answer useful?  Yes

Srinivasa R Gummadi

  • Nov 18th, 2006
 

The stage variable can be used in situations where U want to Store a Previous record value in a variable and compare with current record value and use if then else conditional statements.

If you want to show the product list seperated , for a each manufacturer with the following rows you can use stage variable

Input Rows

Manufacturer   Product

GM                 Chevvy

GM                 GeoMetro

Ford               Focus

Ford               Explorer

Chrysler          Jeep

Chrysler           Pacifica

Output rows

GM                 Chevvy,GeoMetro

Ford               Focus,Explorer

Chrysler          Jeep,Pacifica

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions