Search found 15603 matches

by ArndW
Fri Nov 19, 2010 4:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GET FILENAME
Replies: 37
Views: 9673

Sort your incoming data before the transform stage by descending filename. In your transform use stage variables to only pass on the highest (first) filename records SvFirstFileName IF NOT(SvFirstGroupName) THEN In.Filename ELSE SvFirstFileName Constraint: In.FileName=SvFirstFileName This will only ...
by ArndW
Fri Nov 19, 2010 3:14 am
Forum: General
Topic: Recover Datastage 7.5.2.1 from Error calling subroutin
Replies: 2
Views: 2636

vijairv, we think (well, actually we know) that you deleted one or more necessary files in your cleanup action and it is unlikely that the project can be saved. If you have an OS-Level backup you can restore the missing files. Otherwise your only choice is to create a new project and restore your Da...
by ArndW
Fri Nov 19, 2010 3:03 am
Forum:
Topic: transcation size in datastage
Replies: 6
Views: 2721

Could you explain how it didn't work? Note that DataStage jobs don't do explicit COMMITs, once the row count or time threshold is reached a COMMIT is performed. If the job aborts an implicit rollback of the current transaction is performed.
by ArndW
Fri Nov 19, 2010 2:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improving Job performance
Replies: 16
Views: 6419

In order to determine what can be done to "tune" this job, you need to establish some reference values first. Start off with just your source OCI stage and write straight to a sequential file at /dev/null; i.e. a copy of this job with just 2 stages. What is your Rows/Second speed for this ...
by ArndW
Fri Nov 19, 2010 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Don't want seconds part in a time field
Replies: 3
Views: 1684

If your output is a sequential file then I would recommend dispensing with a TIME datatype and just using a string, i.e.

Code: Select all

If IsNull(Xform.req_time) Then '00:00' Else Xform.req_time[12,5]
by ArndW
Fri Nov 19, 2010 2:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can't login the Datastage Server and The connection is broke
Replies: 14
Views: 6804

Do you know if the server was very busy when you tried it? Also, I dind't quite understand from your answer if this problem always happens or if you can sometimes login successfully.
by ArndW
Thu Nov 18, 2010 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Convert Uint64 to Int64
Replies: 7
Views: 10731

Assuming that the unsigned int will fit into a normal int then (a) you don't need to perform a conversion as the two values are identical at a bit level and/or (b) put in a transform, copy or other stage in your stream and remove the "unsigned" attribte from the output stream and you will ...
by ArndW
Thu Nov 18, 2010 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job with Merge Stage Abort
Replies: 6
Views: 2178

Stick with a sequential file output for the moment to simplify the problem. Do "Go" and "Mo" mean "gigabyte" and "megabyte" or something else?
How big is the output file when the job aborts?
by ArndW
Thu Nov 18, 2010 5:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job with Merge Stage Abort
Replies: 6
Views: 2178

I don't know what could be causing that offhand. Does it abort at exactly the same row each time (even if the data sort order is different)?
"600 Go" does that mean Gigabyte?
What is your output stage after the merge stage?
by ArndW
Thu Nov 18, 2010 5:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data scrubbing/scrambling
Replies: 4
Views: 2598

Code: Select all

Convert('ABC12','SR#*9',In.Account_No)
Will do what you wish.
by ArndW
Thu Nov 18, 2010 5:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I restart loading after a job abort?
Replies: 2
Views: 3087

There are many ways to do this. What is your target? If it is a database, the simplest might be to do inserts only and have it ignore updates. In that case, you can re-run your job and the records that have already been inserted will be skipped. You will need to explain your environment a bit more i...
by ArndW
Thu Nov 18, 2010 5:12 am
Forum: General
Topic: How to pass a variable date as a parameter in dsjob
Replies: 11
Views: 4565

Instead of the '2010-11-18' value that ray suggested, use $Starttime.
by ArndW
Wed Nov 17, 2010 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedures in Oracle connector stage
Replies: 13
Views: 15613

A quick Google search shows that the ORA-0900 error has more to do with the call than the procedure itself. Have you tried using double-quotes instead of single quotes in the call?
by ArndW
Wed Nov 17, 2010 6:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedures in Oracle connector stage
Replies: 13
Views: 15613

Did you add a semicolon at the end of the command?