Search found 520 matches

by mhester
Tue Sep 14, 2010 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting string to date!!
Replies: 23
Views: 11528

Change

StringToDate(input,"%mm/%dd/%yyyy")

to this

StringToDate(input,"%mm\%dd\%yyyy")
by mhester
Tue Sep 14, 2010 2:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting string to date!!
Replies: 23
Views: 11528

Would you please post an actual date value?
by mhester
Tue Sep 14, 2010 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Errors when configuring for Enterprise Edition on 7.5.2
Replies: 7
Views: 3585

What the EE stage is looking for is the db2nodes.cfg for the target database so that it will understand the partition map for a given table. The db2nodes.cfg for the database resident on the ETL server will not work (and do not change it either). Question: is rpsts1ii the instance of the DPF server?...
by mhester
Tue Sep 14, 2010 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Instance
Replies: 3
Views: 2251

You are welcome
by mhester
Tue Sep 14, 2010 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting string to date!!
Replies: 23
Views: 11528

You are experiencing a conversion failure of some sort. Either the string coming in will not convert to a date or the format you have defined does not match the data.
by mhester
Tue Sep 14, 2010 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Instance
Replies: 3
Views: 2251

The instance you refer to is used at runtime if provided. If not provided the environment variable DB2INSTANCE is used. This may be necessary if a database is cataloged under a different instance then is referred to with DB2INSTANCE.
by mhester
Mon Sep 13, 2010 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unix like back quote function in datastage
Replies: 2
Views: 2154

Please post the exact syntax you are using in your user variable stage please.
by mhester
Mon Sep 13, 2010 6:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I remove all special characters
Replies: 6
Views: 3890

It is not going "outside" of DataStage. It is using the tools on the palette in the sequencer and is pretty standard stuff. If the OP wants to get rid of all unprintables then something like what I posted will work or a simple C program (of which there are hundreds on the web) will work to...
by mhester
Mon Sep 13, 2010 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I remove all special characters
Replies: 6
Views: 3890

This would not be something that I would do within a particular job flow by , but rather outside of the job. If you would want to do it within a job then I would create a parallel routine (pretty easy) and invoke it as a function in the transform. If you want to handle it outside using something lik...
by mhester
Mon Sep 13, 2010 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: timestamp issue
Replies: 5
Views: 1719

I actually think that this is the bad data the OP is referring to, although it is difficult to discern really from the orignal post. my source data is like 2007-10-30 12:48:16.300 i have laoded in to target but data getting like 2007-10-30 12:48:16. 000 I aslo believe that someone posted and said to...
by mhester
Mon Sep 13, 2010 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Proble with datasets--One of the nodes is down.
Replies: 9
Views: 4754

Unfortunately I do not believe that you can restore the partition to one of the other nodes and have it work. The location of the partitions are contained within the .ds header. You can certainly use a different configuration in your job then what was used to create the dataset, but I believe that a...
by mhester
Fri Sep 10, 2010 6:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector - Locked out - Convert to Single Tread
Replies: 16
Views: 23795

Can you post the actual error you are receiving? Also, there is only one (1) DB2 Connector - the DB2 UDB API is not a connector. Also, Unless you Entire partition your rows will not be "shared" across partitions. Node 0 will not contain rows from Node 1 unless you used Entire partitioning ...
by mhester
Thu Sep 09, 2010 5:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10414

Agreed, but the answer should have clarified that point. There are many times that a single node configuration is preferable to a multi node, or running an operator in the sequential mode, but without knowing a bit more from the op the answer needs to be qualified.
by mhester
Thu Sep 09, 2010 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input record sequence number
Replies: 21
Views: 10414

Run the parallel transformer in sequential way and use @INROWNUM
Seriously? :roll:
by mhester
Thu Sep 09, 2010 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LKUP stage and null handling
Replies: 4
Views: 1462

Format tab of the sequential file under Field Defaults.