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
Have you used the rollup component? Describe how?
How co> operating system natively processes the data?
What are the steps to create a repository in ab initio?
Mention what is abinitio?
List out some of the air commands used in abintio?
can we perform checkin and checkout through sandbox?
Explain PDL with an example?
Explain what is the architecture of abinitio?
What is local and formal parameter?
How to find the project(pub,priv,common,client) in between public, Private,common?Any identification?
How do you add default rules in the transformer?
What you can store, manage and reuse centrally in ab initio enterprise meta>environment (eme)?
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?
What do you know about abinitio?
What are the key elements of a data processing system?