Search found 31 matches

by calvinlo
Fri Sep 26, 2003 3:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job abort
Replies: 6
Views: 3183

job abort

hi all,

i would like to know how can i set the default number of warnings that leads to job abort (just like we do in director)? I like to make the job abort once a warning occurs so that the transaction could be rolled back.

Thanks,
Cal
by calvinlo
Thu Sep 04, 2003 9:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get the total number of records insert/update
Replies: 1
Views: 1204

Get the total number of records insert/update

Hi all,

I have one input file pointing to multiple output stage according to different constraints. How can i get the number of records inserted/updated in each of the stage?? Thank you

Calvin
by calvinlo
Tue Aug 19, 2003 12:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute problem
Replies: 4
Views: 2101

o.. the example contains space~
and so how can i handle if the argument contains space

Thanks,
Cal
by calvinlo
Mon Aug 18, 2003 9:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute problem
Replies: 4
Views: 2101

DSExecute problem

Hi all, I use Call DSExecute("UNIX",myCommand, Output, ErrCode) to execute system command. but i find that if myCommand consists of double quote(") and single quote(') ..mostly as script argument....and it always fail to run. e.g. myCommand is testing.sh "hello '1234'" i use...
by calvinlo
Fri Aug 15, 2003 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Handling
Replies: 6
Views: 2958

Thanks.
But there are many cases that data from staging table populate to several tables in SoR. How can i handle this?

Cal
by calvinlo
Thu Aug 14, 2003 7:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Handling
Replies: 6
Views: 2958

I have staging tables and now it is the apply stage. Records in one table in staging table needs to populate into two tables in system of records. So not multiple links input to single stage, instead is one input to multiple stage.
Hope you all could help me.

Thanks,
Cal
by calvinlo
Thu Aug 14, 2003 3:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transaction Handling
Replies: 6
Views: 2958

Transaction Handling

Hi all,

I have a server job with one input, one transformer and two outputs for two tables. I would like to know how DataStage handle transaction. e.g. If one of the table fails to insert, could it rollback two tables?? can i make it one single transaction?
I am using DB2.

Thanks,
Cal
by calvinlo
Thu Aug 07, 2003 12:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wait For File Activity
Replies: 4
Views: 3016

I've tried wildcard but it doesn't work and so hope to know if there are other solution

Thanks

Cal
by calvinlo
Wed Aug 06, 2003 9:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wait For File Activity
Replies: 4
Views: 3016

Wait For File Activity

Hi all

Could i do sth like Wait For file in a Directory?
Since the input file always comes with a timestamp, e.g. accounts20030805.dat and the timestamp is arbitrary....how can i make use of the "WaitForFile" stage instead of writing DS script.
Thanks

Cal
by calvinlo
Wed Jul 30, 2003 9:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute problem
Replies: 9
Views: 3214

Thanks for your help.

but i still cannot use "execute command" in "sequencer" to execute unix script with correct parameters passed. now i just use server job to do that.. the drawback is i cannot view the the unix command flow graphically.

Cal
by calvinlo
Wed Jul 30, 2003 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute problem
Replies: 9
Views: 3214

I am sorry that this problem only occurs when i use "Execute Command" in "Job Sequencer" job.....am i using the right stage("Execute Command") if i hope to execute unix command ?

Thanks,
Cal
by calvinlo
Tue Jul 29, 2003 11:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director Job Log
Replies: 5
Views: 2630

Thanks all of you!
I know the master job got the log but it is quite difficult to read~
and now i am trying to archive the log before i compile jobs~

Cal
by calvinlo
Tue Jul 29, 2003 11:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute problem
Replies: 9
Views: 3214

DSExecute problem

Hi all, I've tried to use sequencer and server job to execute unix command in different ways but i found there's a problem.. when i try to execute "mv #inputfile# #outputfile#" it seems that datastage really run this command(accept "#inputfile#" as parameter) instead of passing p...
by calvinlo
Mon Jul 28, 2003 9:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director Job Log
Replies: 5
Views: 2630

Director Job Log

Hi all, I have a job(interfaceControl) running many instances at the same time, and so i use the invocation id to differentiate them. e.g. interfaceControl.Accounts, interfaceControl.Customer but if i hope to modify this job, i found that all instance logs will be cleared once i compile it. Any thin...
by calvinlo
Thu Jul 24, 2003 8:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Querying a DSN from within a controlling job
Replies: 13
Views: 4526

Job1: (Outputs to hash file HashMaxKeys) select max(CustId) from Customer -> "HashMaxKeys", "Customer" Job2: Stage Variable (Initial Value): StartCustId -> UtilityHashLookup("HashMaxKeys", "Customer") For this method will there be concurrency problems if "...