Search found 161 matches

by mctny
Wed Mar 05, 2008 10:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do a task one time for a multi-instance job?
Replies: 12
Views: 3642

sure, they are just refreshing of materialized views in Oracle. CALL DBMS_SNAPSHOT.REFRESH ('DM_APSDM.MAT_View_1','C');; CALL DBMS_SNAPSHOT.REFRESH ('DM_APSDM.MAT_View_2','C');; CALL DBMS_SNAPSHOT.REFRESH ('DM_APSDM.MAT_View_3','C');; CALL DBMS_SNAPSHOT.REFRESH ('DM_APSDM.MAT_View_4','C');; COMMIT;;...
by mctny
Wed Mar 05, 2008 9:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do a task one time for a multi-instance job?
Replies: 12
Views: 3642

yes correct, it should be before, instead of after , though, ............ after the Multiple instance job been executed n time. How does the Multiinstance job been executed / Called? the multiinstance job is called in a job control datastage basic program, it is a daemon that runs and waits/sleeps a...
by mctny
Wed Mar 05, 2008 9:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do a task one time for a multi-instance job?
Replies: 12
Views: 3642

Hi Kumar, thank you very much for the quick reply, I think I wasn't very clear about the case, the thing is that I don't need to call the multi-instance job, I need to call my small job for one time only. i.e., lets say multi-instance job run for 5 different invocation IDs everyday but I still want ...
by mctny
Wed Mar 05, 2008 8:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to do a task one time for a multi-instance job?
Replies: 12
Views: 3642

How to do a task one time for a multi-instance job?

I need to call a few Oracle commands one time for a multi-instance job, I created a simple job which consist of an oracle stage and dummy file, and I put my commands in the oracle stage, now I need to call this job after a job which is multi-instance. there is no sequencer for this job and I should ...
by mctny
Fri Aug 03, 2007 11:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: A process to monitor UNIX directory start DS by File Name
Replies: 1
Views: 927

There is a WaitForFile stage in sequence jpbs, you can create a master sequence and use a waitforfile activitiy stage and kick your main job/sequence
by mctny
Thu Jul 19, 2007 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can I refer to a stage variable in an after stage SQL??
Replies: 3
Views: 1146

if you really want to use that stage variable in an SQL, you might be able to, (depending on the SQL you are trying to execute,) :

try to convert the sql into routine or function or implemet inside the transformer with the help of transformer functions, new stage variables.
by mctny
Thu Jul 19, 2007 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can I refer to a stage variable in an after stage SQL??
Replies: 3
Views: 1146

Re: can I refer to a stage variable in an after stage SQL??

My Target is an UDB table and I wanted to run a SQL using the stage variable from the transformer stage to update another control table. No, you cannot refer a stage variable outside of the current transformer. you can write the value of that stage variable in a flat file or an hash file and then u...
by mctny
Tue Jul 10, 2007 12:22 pm
Forum: General
Topic: Limiting access to only view the job log.
Replies: 10
Views: 3628

chulett wrote:Such as?
it will be a naive way but you can make the job aborted when he tries to run with his username. for other users the jobs can run without abort.
by mctny
Tue Jul 10, 2007 11:45 am
Forum: General
Topic: Limiting access to only view the job log.
Replies: 10
Views: 3628

is there a limited number of jobs you don't want that operator to be able to run, or is it all the jobs? if it is the first case you can do some workaround.
by mctny
Tue Jun 26, 2007 2:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Edition of Windows Vista that support DataStage Server
Replies: 8
Views: 3819

...I'll have to figure out a way to easily compare the list of files. put both lists into two different sequential file, create a small datastage jobs and use one file as your input and the other as a look up and your unmatched rows will be the difference. or write a minus query if you can import t...
by mctny
Tue Jun 26, 2007 1:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading file pattern
Replies: 6
Views: 1908

I think (not 100% sure), it will read the files one by one, not in parallel.
by mctny
Tue Jun 26, 2007 12:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Source to target loading using oracle and datastage
Replies: 24
Views: 10292

a naive workaround would be to try to use one basic and then a PX transformer or the other way around.
by mctny
Tue Jun 26, 2007 11:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: .uvconfig not found
Replies: 19
Views: 7210

the files might have been deleted prior to the backup. what do you mean that when the DS working, does it mean you were able to connect to the DataStage server, because you won't be using those files when you just connect or compile a job.
by mctny
Tue Jun 26, 2007 11:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: join stage
Replies: 5
Views: 1985

Re: join stage

There might be some space or other invisible characters before or after the actual value of the columns, for that reason you should use trim function for both the main input columns as well as the look up columns.