GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Abinitio
Go To First  |  Previous Question  |  Next Question 
 Abinitio  |  Question 188 of 193    Print  
Cummulative summary in AB Initio
How can I achieve cummulative sumary in AB Initio other than using SCAN component. Is there any inbuilt function available for that?



  
Total Answers and Comments: 2 Last Update: October 10, 2008     Asked by: abinitio17 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 10, 2008 09:59:00   #1  
robmuza Member Since: July 2008   Contribution: 3    

RE: Cummulative summary in AB Initio

Scan is really the most simple way to achieve this.  Another way is to use a ROLLUP, since it is a multistage component.  You need to put the ROLLUP component into multistage format and write the intermediate results to a temp array (I think they're called vectors in AI).  The ROLLUP loops through each record in your defined group.

Let's say you want to get intermediate results by date.  You sort your data by {ID; DATE} first.  Then ROLLUP by {ID}.  The ROLLUP will execute it's transformation for each record per ID.  So store your results in a temp vector, which will need to be initialized to be the size of your largest group.  Each time the ROLLUP enters the tranformation, write to the [i] position in the array and increment i each time.  As long as this is all done in the "rollup" transformation and not the "finalize" transformation, it will run the "initialize" portion before it moves to the next ID.

I have done it this way, but the Scan is easier.  I was doing a more simple rollup before I found that I needed cumulative intermediate results, so I just modified my existing ROLLUP.  Ab Initio documentation does not explain this technique in detail, but it can be done.  Let me know if you need more detail and I can provide a better example.

 
Is this answer useful? Yes | No
October 10, 2008 03:37:56   #2  
abhi_fresh_as_dew Member Since: September 2008   Contribution: 5    

RE: Cummulative summary in AB Initio
Use in built componenet in Abinitio .. "SCANWITHROLLUP"

Abhisek B
fresh as dew!!

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Basically there are serial and parallel layouts supported by AbInitio. A graph can have both at the same time. The parallel one depends on the degree of data parallelism. If the multi-file system is 4-way parallel then a component in a graph can run 4 ...
Read Answers (1) | Asked by : Beena

Latest Answer : yeah,  abinitio is a combination if GDE(graphical development environment),co^operating system,and EME(enterprise metadata environment)each have its own importance and are inter-related.generally co^op system ,and EME exists remotely .GDE has to ...
Read Answers (6) | Asked by : Ab nath

Latest Answer : The latest version of GDE ism1.15 AND Co>operating system is 2.14 ...
Read Answers (2) | Asked by : karthik

Latest Answer : in some cases abinitio will not recognize some part of  sql statments and unable to read the table.. to avoid this we have use AB_LOCAL() and table name when ever we use clauses like WHERE condition ...
Read Answers (3) | Asked by : rupal

Latest Answer : same as $?....but it will give u return status of mp run cmd...capture and use it at end script to display and notify warning/success and failure msg ...
Read Answers (3) | Asked by : rupal

Sift links to MFS files on Unix for Ab Initio ? what is this ....2) $pound what is this 3) $? what for it is used 4) types of loading 5 overwrite when it used ?
Read Answers (2) | Asked by : sekr

Read Answers (4) | Asked by : windows

Please let me know whether we have ab initioGDE version 1.14 and what is the latest GDEversion and Co-op version?
Read Answers (4) | Asked by : divya

Latest Answer : hi, am adding some more what i know...the layout of program components tells the co>os that where the component is running and the layout of dataset components tells that where the data is available.... ...
Read Answers (3) | Asked by : Godhuly

Latest Answer : For #1, if the layout is not serial, you might need to do something like:(next_in_sequence()-1)*no_of_partition()+this_partition() ...


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

ODP.NET - Fundamental ODP.NET Classes to Retrieve Data

ODP NET Fundamental ODP NET Classes to Retrieve Data To retrieve data from an Oracle database using ODP NET we need to work with a few of the ODP NET classes At this point we will discuss the most fundamental classes available in ODP NET for retrieving data mosgoogle The following is the list of fun
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape