Search found 200 matches

by times29
Wed Jan 04, 2012 4:07 pm
Forum: General
Topic: job ran based upon query result
Replies: 7
Views: 3058

job ran based upon query result

i have a query which returns 1 or blank i want to run a sequence job if the query returns result 1 else datastage job will need to go back to sleep for 15 minutes and then wake up to check again the result when query returns 1 result it starts running

how can i do that..

Thanks
by times29
Sun Nov 06, 2011 4:30 am
Forum: General
Topic: commandoutput
Replies: 5
Views: 2801

I tried both with single quote and double quote around all_v1
still not working
by times29
Sat Nov 05, 2011 7:45 pm
Forum: General
Topic: commandoutput
Replies: 5
Views: 2801

commandoutput

Hi,

1)i am doing grep in execute command activity
getting
Output from command ====>
"all_v1"

2) Using nested condition
to load table_a

Activity.$CommandOutput = 'all_v1'

table_a not getting loaded any idea what should be nested condition.
by times29
Sat Nov 05, 2011 6:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: constraint not restricting before condition
Replies: 4
Views: 1693

What i am asking is if constraint is not met how can i prevent it from
initializing the database table .
by times29
Sat Nov 05, 2011 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: constraint not restricting before condition
Replies: 4
Views: 1693

constraint not restricting before condition

i have source-->lkup-->transf--> 2 target tables table_a and table_b in transf i am giving condition if condition met for table_a load table_a else if condition meet for table_b load table_b (Condition is a constraint) In both target tables i have before condition to truncate table so if condition f...
by times29
Sun Oct 30, 2011 9:22 am
Forum: General
Topic: call select in nested condition
Replies: 7
Views: 2076

i can't use server job as i need multiple nodes to load data to db
i tried loading data in dataset and then did Execute Command stage to
read data from dataset problem is grep don't work on ds files
by times29
Sat Oct 29, 2011 10:16 am
Forum: General
Topic: call select in nested condition
Replies: 7
Views: 2076

let me ask this i run that select and peek the output which
looks like Peek colum_1:a1 can i call this a1 in to nested if not
what will be syntax for Execute Command activity to call column_1 a1
by times29
Sat Oct 29, 2011 10:13 am
Forum: General
Topic: call select in nested condition
Replies: 7
Views: 2076

what will be syntax for Execute Command activity
by times29
Sat Oct 29, 2011 3:54 am
Forum: General
Topic: call select in nested condition
Replies: 7
Views: 2076

call select in nested condition

Hi,
How can i do this in nested condition

call select stmt select active_table into active from your_control_table;

if active =1 then load table_a if active =2 load table_b

can we call select stmt in nested condition?
by times29
Sun Oct 23, 2011 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: loading tables based upon counts
Replies: 5
Views: 1786

IF you can explain step 2 bit in detail it will help 1) have two jobs which load to table_a and table_b both tables have same ddl and same datasource 2) which transformer should i use to give below condition (If you can explain this step bit in detail) SELECT max(row_date) as t1_date FROM table_a an...
by times29
Wed Oct 12, 2011 6:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: loading tables based upon counts
Replies: 5
Views: 1786

Can you please post a design who will this work
by times29
Sat Oct 08, 2011 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: loading tables based upon counts
Replies: 5
Views: 1786

loading tables based upon counts

Hi, How can i do this Two tables table_a1 and table _a2 both tables have same table structure first time etl runs do count on table_a1 and _a2 and just populate table_a1 second time it runs do count on both tables find _a2 null so load _a2 after load _a2 delete _a1 third time it runs do count on bot...
by times29
Thu Aug 18, 2011 4:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: index constraint
Replies: 7
Views: 4125

I want to do sumthing like this in sql so that records for _Req and _Joi not pass.i tried and suggested by ray its not working

SELECT *
FROM aa
where "ID" NOT like '___Req%' AND
"ID" NOT like '___Joi%'
by times29
Wed Aug 17, 2011 8:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: index constraint
Replies: 7
Views: 4125

index constraint

Hi,
I want to filter any records which has ___Req% or ___Joi%
i am putting constraint in transformer its not working

Index((to_transf._ID), "___Req",1)
or Index((to_transf._ID), "___Joi",1) = 0

Thanks
by times29
Tue Jul 19, 2011 4:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: finding jobs realted to fileset
Replies: 3
Views: 1707

ok i guess i want to know opposite i can see all file sets on aix box
i just want to take that fileset name from unix and then find which job
create it and which jobs uses it as lookup