What is AB_LOCAL expression where do you use it in ab-
initio?
Answer Posted / prasad setti
If you use an SQL SELECT statement to specify the source
for Input Table, and if the statement involves a complex
query or a join of two or more tables in an unload, Input
Table may be unable to determine the best way to run the
query in parallel. In such cases, the GDE may return an
error message suggesting you use ABLOCAL(tablename) in the
SELECT statement to tell Input Table which table to use as
the basis for the parallel unload.
To do this, you would put an ABLOCAL(tablename) in the
appropriate place in the WHERE clause in the SELECT
statement, and specify the name of the "driving table"
(often the largest table, but see below) as a single
argument.
When you run the graph, Input Table will replace the
expression "ABLOCAL(tablename)" with the appropriate
parallel query condition for that table.
For example, suppose you want to join two tables-
customer_info and acct_type-and customer_info is the
driving table. You would code the SELECT statement as
follows:
select * from acct_type, customer_info
where ABLOCAL(customer_info) and
customer_info.acctid = acct_type.id
Note that when using an alias for a table, you must tell
ABLOCAL(tablename) the alias name as well.
select * from acct_type, customer_info custinfo
where ABLOCAL(customer_info custinfo) and
custinfo.acctid = acct_type.id
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Do you think effective communication is necessary for data processing? What is your strength in terms of same?
What are the steps to create a repository in ab initio?
Mention what the difference between “look-up” file and “look is up” in abinitio?
What do you mean by a transaction file and how it is different from that of a sort file?
What are the differences between different versions of co-op?
What are the facts that can compromise data integrity?
Mention what is the syntax for m_dump in abinitio?
How do you add default rules in the transformer?
What is the return type of lookup_not_loaded() ? Does it return 0 or 1 to signify true or false or does it return index ...can someone please explain.
Explain what is de-partition in abinitio?
What are the types of data processing you are familiar with?
What is flow buffering ? How it reduces the chances of having deadlock ? How to use in abinitio graph?
What would be the next step after collecting the data?
Given input file with single column having 1 2 2 4 3 .. Required output 1 2 2 4 4 4 4 3 3 3.. How?
Describe the evaluation of parameters order in ab initio?