Search found 6797 matches

by DSguru2B
Mon Mar 12, 2007 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 1403 Oracle Error -Upsert
Replies: 9
Views: 11337

The stage tries to insert, if the insert fails with error code (-1), it will then try to update. The issue here is. It fails on update as well. What happens if you do only update? Try to capture the record thats causing this error. See whats different. Does that value exist ? For debugging purposes,...
by DSguru2B
Mon Mar 12, 2007 2:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Staging Data In Sequential File
Replies: 11
Views: 2586

You can rate everyone's replies depending upon how helpful the comments were.
by DSguru2B
Mon Mar 12, 2007 2:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ExecDOS
Replies: 5
Views: 2577

Use either Pipe or Ampersand.I was aware of the fact that its windows as ExecDos does not exist in unix. For some reason I though a semicolon should work. Anywho...
by DSguru2B
Mon Mar 12, 2007 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Staging Data In Sequential File
Replies: 11
Views: 2586

chulett wrote:Too slow. :wink:

Alas, my slow fingers.
by DSguru2B
Mon Mar 12, 2007 2:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Staging Data In Sequential File
Replies: 11
Views: 2586

Its a three time 'Yes' from Craig. Its stone written now. :wink:
by DSguru2B
Mon Mar 12, 2007 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion to SQL server
Replies: 24
Views: 6030

Did you spot check a few fields in the flat file. Is the conversion correct?. Also in my initial input, ICONV for time should be "MTHS" instead of "MT" This conversion will only be successful if there is no space between seconds and AM/PM. If there is space you need to get rid of that space then.
by DSguru2B
Mon Mar 12, 2007 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: server shared container in parallel job
Replies: 5
Views: 2083

Yes we can. Search the forum or read about shared containers and its uses in DS manual.
by DSguru2B
Mon Mar 12, 2007 2:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Staging Data In Sequential File
Replies: 11
Views: 2586

Its not against best practices. I use it all the time. But if the data size is huge, it might not be a good practice. Therefore it depends. But then again you should also have a cleanup process in place that cleans out files so that huge files dont just keep sitting there for months.
by DSguru2B
Mon Mar 12, 2007 2:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 1403 Oracle Error -Upsert
Replies: 9
Views: 11337

Sql Code 1403 means that the update record was not found according to the listprovided by Vincent. Is your key a char column ? What happens when you change that to varchar. There might be an issue of spaces with char field.
by DSguru2B
Mon Mar 12, 2007 1:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset the sequencer
Replies: 6
Views: 1038

Return code for an aborted job is 3. While running the job, stick in -jobstatus so that the return code of the command will be infact the job status which can be read by $?

Also, search the forum, you will find a variety of shell scripts that does this for you.
by DSguru2B
Mon Mar 12, 2007 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings in job
Replies: 4
Views: 1952

Re: Warnings in job

Lookup_8,0: Ignoring duplicate entry at table record 1; no further warnings will be issued for this table Do an exact search on "Ignoring duplicate entry at table record" for the above error. And for the below error, do an exact search on "Delimiter for field ". One of those search results turns up...
by DSguru2B
Mon Mar 12, 2007 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

Multiple writes to a hashed file is possible. Let your source hashed files go to either
- a single hashed file stage with the same hashed file name for each input
or
- 18 hashed file stages with the same name.
by DSguru2B
Mon Mar 12, 2007 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ExecDOS
Replies: 5
Views: 2577

Its semi-colon seperated. There are more options as well.
by DSguru2B
Mon Mar 12, 2007 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset the sequencer
Replies: 6
Views: 1038

...by reseting it from unix command

Code: Select all

 dsjob -run -mode RESET <<PROJNAME>> <<SEQName>>
by DSguru2B
Mon Mar 12, 2007 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion to SQL server
Replies: 24
Views: 6030

Try changing it. Also, since this is such a struggle, load it to a flat file, just a few records to see how it looks like. It should have two parts. The first is date in the format YYYY-MM-DD and second is time in the format HH:NN:SS. Both parts should have a single space in between them.