Search found 981 matches

by gateleys
Mon Jul 19, 2010 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: All different commads to import datastage jobs.
Replies: 3
Views: 5775

Re: All different commads to import datastage jobs.

I use the dscmdexport.exe command wrapped in a batch script that is scheduled from Windows client (that contains DS client) to create the dsx file. It creates a single dsx file for a project and contains jobs, routines, table defintions, executables etc. Whenever I want to split them into individual...
by gateleys
Mon Jul 19, 2010 1:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I get the weekday from a date?
Replies: 3
Views: 1694

Re: How can I get the weekday from a date?

Sorry, I did not realize you use PX. The above code will only work in a server job, or in a BASIC Transformer.
by gateleys
Mon Jul 19, 2010 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I get the weekday from a date?
Replies: 3
Views: 1694

Re: How can I get the weekday from a date?

Assuming your date comes in with YYYYMMDD format, you could use

Code: Select all

YourDate:" ":Oconv(YourDate, "DWA")
by gateleys
Mon Jul 19, 2010 12:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Incrementing surrogate key
Replies: 10
Views: 6204

Re: Incrementing surrogate key

Use the built-in transform, KeyMgtGetNextValue('YourSequenceName'). In case there is concurrent writing to the same table, you could use KeyMgtGetNextValueConcurrent('YourSequenceName')
by gateleys
Thu Jul 15, 2010 7:36 am
Forum: Site/Forum
Topic: Problem with posting.php
Replies: 11
Views: 12912

Dunno if you guys solved the problem, but I sure did not get the error during the above post.
by gateleys
Thu Jul 15, 2010 7:35 am
Forum: Site/Forum
Topic: Problem with posting.php
Replies: 11
Views: 12912

I have been getting the same error more frequently lately. Whenever it stalls, I just wait for a few seconds and go back and then to the original post, in order to avoid a double post.

It is kind of annoying specially when you have many questions or are trying to reply to other's problems.
by gateleys
Wed Jul 07, 2010 3:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: commit interval
Replies: 13
Views: 4553

Thanks gateleys, I will sure do that and my issue was DB transaction/rollback handling, how to best control this for a whole job/service, DB transaction takes place only at the end of the job stream, if everything is successful. Also, rollback of data for a DB stage (or something else in the job) f...
by gateleys
Wed Jul 07, 2010 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: look up error
Replies: 10
Views: 9678

Re: look up error

rahul8055 wrote:
gateleys wrote:If you do not specify the key field, how do you expect the matching to take place?
Do I need to specify it as primary key?
can you please expand your answer


thanks,
Rahul
yes.
by gateleys
Wed Jul 07, 2010 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: commit interval
Replies: 13
Views: 4553

In the transaction tab I could see record count Is that record count that is specified as 2000. and array size is 2000 and auto commit mode is off do I need to change anything? thanks Rahul Here, the Record count is the commit size and the array size is the number of rows that is transferred in one...
by gateleys
Wed Jul 07, 2010 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: look up error
Replies: 10
Views: 9678

Re: look up error

If you do not specify the key field, how do you expect the matching to take place?
by gateleys
Wed Jul 07, 2010 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: commit interval
Replies: 13
Views: 4553

The ODBC, when used as a target, does have the "Rows per transaction" in the Transaction Handling tab.
by gateleys
Wed Jul 07, 2010 3:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with DataStage scheduler
Replies: 4
Views: 2919

Re: Problem with DataStage scheduler

Did you delete/rename the previously scheduled job, and then created another job under the same name? I remember something similar that happened to us in the past. I can't remember the exact nature of the problem, but it had to do with delete/rename of jobs.
by gateleys
Wed Jul 07, 2010 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User Defined SQL Line Limit in ORAOCI9 stage.
Replies: 3
Views: 2629

Re: User Defined SQL Line Limit in ORAOCI9 stage.

That's weird. We use 7.5.1, and have queries that are waaayyy longer than that, and we haven't had any issues... even with line feeds.
by gateleys
Wed Mar 10, 2010 2:08 pm
Forum: General
Topic: DataStage Multi-Client Launcher
Replies: 13
Views: 9331

Neat, but I will pass.
by gateleys
Wed Mar 10, 2010 1:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI stage tuning
Replies: 6
Views: 3843

Array size can surely give you faster reads (and writes) if you can test for the optimal setting. Never used prefetch in OCI.