Search found 6797 matches

by DSguru2B
Thu Mar 15, 2007 2:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: /TMPDIR - More Information Needed
Replies: 10
Views: 3943

Its not good. Say you have a stream of 50 jobs. All dependent upon each other. The 49th job creates a staging file thats needed by the 50th job. The 50th job fails for some reason on friday. If you are not able to fix the problem in the next 72 hours, the file will be gone. You need to give enough t...
by DSguru2B
Thu Mar 15, 2007 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Function to retrieve Project Level Environment Variable?
Replies: 13
Views: 3780

There is a function present in px jobs, not in ds jobs. The work around is to get it from the unix level by echoing it.
by DSguru2B
Thu Mar 15, 2007 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Data Capture
Replies: 12
Views: 3687

The CDC stage gives an extra column with the codes. You must be getting them, so whats the problem here. Just insert them. Or you want wordings instead of codes? If thats the case then stick in a transformer and change the codes to words.
by DSguru2B
Thu Mar 15, 2007 2:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handle Timestamp null when inserting in OCI
Replies: 13
Views: 4641

Thats odd. If you have it defined as nullable all accross and it still rejects it then that means something is missing. Double, triple check in all the input/output tabs of all the stages.
by DSguru2B
Thu Mar 15, 2007 1:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Function to retrieve Project Level Environment Variable?
Replies: 13
Views: 3780

Did you try searching?
by DSguru2B
Thu Mar 15, 2007 12:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: discarding sign byte for a decimal when writing it to a file
Replies: 5
Views: 931

No. I doubt there is any other way. Basically you will have to convert to string and then do your substrings which you already are.
by DSguru2B
Thu Mar 15, 2007 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate report
Replies: 1
Views: 516

Do an exact search on "create report".
The following is a fairly recent discussion.
http://www.dsxchange.com/viewtopic.php? ... ate+report
by DSguru2B
Thu Mar 15, 2007 12:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: discarding sign byte for a decimal when writing it to a file
Replies: 5
Views: 931

Out of curiosity, why do you want to change the decimal field to char. Is it just becuase of the leading space. Let it be there, the space will not affect the fixed width file format.
by DSguru2B
Thu Mar 15, 2007 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handle Timestamp null when inserting in OCI
Replies: 13
Views: 4641

Does your table accept NULL for the timestamp field? If you get rid of the database stage and load it to a flat file with the timestamp field set to null, can you load the data into a file?
by DSguru2B
Thu Mar 15, 2007 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: discarding sign byte for a decimal when writing it to a file
Replies: 5
Views: 931

If you want to write to a file as Decimal it will always save a space for the sign. If you dont want that, change it to string and load it to a varchar field.
by DSguru2B
Thu Mar 15, 2007 11:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error Data Conversation
Replies: 2
Views: 1602

Welcome Aboard :)
Change it to integer within the jobs and see if the error persists.
by DSguru2B
Thu Mar 15, 2007 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Key Partition Incremental
Replies: 4
Views: 1022

You have to take into consideration partition number and number of partitions when dealing with @INROWNUM in px jobs. Refer to this post for a better understanding.
by DSguru2B
Thu Mar 15, 2007 9:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of line deleted by oracle stage
Replies: 4
Views: 1177

Exactly, and therefore delete is not logically the same as insert. Hence, inside datastage, get a select count(*) and load it somewhere, UserStatus, hashed file, text file; your choice. Pass the delete and do count(*) from the same table again. Do the comparison.
by DSguru2B
Thu Mar 15, 2007 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of line deleted by oracle stage
Replies: 4
Views: 1177

Re: Number of line deleted by oracle stage

loubi wrote:
I must make a count(*) before and after job execution to know how many lines were deleted.

You have the solution then whats the problem. Get the count before and after delete. Subtract them and thats the number of deletes.
by DSguru2B
Thu Mar 15, 2007 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to run a job before the exit of sequencer
Replies: 10
Views: 2721

madhukar wrote:
i am developing one more sequence which it checks the status of seq1 and runs job A.


But why? If the next job A is to be run whether previous jobs are successful or failure, then why check. Just run job A unconditionally.