Search found 6797 matches

by DSguru2B
Thu Dec 21, 2006 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create a Shared container with a hash file for parallel
Replies: 8
Views: 1545

ray.wurlod wrote:It's "hashed" file, not hash file.



You refuse to give up don't you :wink:
by DSguru2B
Thu Dec 21, 2006 2:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformation
Replies: 20
Views: 4458

Wait a sec, there is a bug in my code. The design is fine, only the derivations. Change it to the following. In Agg1, group by all your fields and specify MAX for date2 In Agg2, group by all your fields and specify MAX for date1 and LAST for date2 In Agg4, group by all your fields and speicfy MAX fo...
by DSguru2B
Thu Dec 21, 2006 1:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformation
Replies: 20
Views: 4458

Dont use stage variables. Use aggregator stage. Work your way from the bottom up. Your design will look something like this FILE --> XFM --->Agg1--->Agg2--->Agg3--->File | | | Reject Reject the records that have NULL values in column Add. In Agg1, group by all your fields and specify MAX for date2 I...
by DSguru2B
Thu Dec 21, 2006 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: assign multiple derivations in a transformer
Replies: 4
Views: 1325

No. Multiple assignments are not allowed. As Ken pointed out, use stage variables. Feel free to use as many for as many assignments.
by DSguru2B
Thu Dec 21, 2006 1:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: finding the space character
Replies: 1
Views: 856

Nothing out of the box but you can use the LEFT() function.

Code: Select all

if LEFT(in.Link, 1) = " " then 'Space present' else 'No space'
by DSguru2B
Thu Dec 21, 2006 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding command line utility
Replies: 30
Views: 6046

Ops, but not my fault, really, i got the impression that its something that the OP wanted to set up dynamically at a regular basis. :roll:
by DSguru2B
Thu Dec 21, 2006 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding command line utility
Replies: 30
Views: 6046

LIST.DICT just displays the dictionary items not the contents. Plus DS_JOBS just has info about the jobs, not the stages. I say stick to DS functions to retrieve job meta data and stage info. Also, search for kduke's ETLStats.
by DSguru2B
Thu Dec 21, 2006 1:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduled job won't run
Replies: 8
Views: 1498

Refere to this post.
by DSguru2B
Thu Dec 21, 2006 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate command in ODBC
Replies: 27
Views: 8259

If you can do it from outside datastage then you do have Truncate permissions. Thats not it. Also make sure your using the same id to access the database within datastage.
You said that DELETE FROM TABLE works, you meant the delete command works in the OPEN command option? Please confirm.
by DSguru2B
Thu Dec 21, 2006 10:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate command in ODBC
Replies: 27
Views: 8259

You sure you have truncate permissions ?
by DSguru2B
Thu Dec 21, 2006 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Encrypted Password as a parameter from Sequence
Replies: 2
Views: 869

So, you have to pass encrypted pass word if the parameter is specified as encrypted. Go the the job log, click on the first entry, see what it has for your password parameter, copy paste that string in your parameter file. Then run the job.
by DSguru2B
Thu Dec 21, 2006 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CSV File : incorrect column number
Replies: 5
Views: 1253

For some reason, i always suggest the Field() method and Craig, you always suggest the easy method on similiar issues in the past. I, should really start registering :oops:
by DSguru2B
Thu Dec 21, 2006 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: select privileges
Replies: 7
Views: 2992

No constraint disabling is needed/advised. These constraints are there for a reason. Instead of a workaround, lets stick to what the guide says.
by DSguru2B
Thu Dec 21, 2006 7:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CSV File : incorrect column number
Replies: 5
Views: 1253

You are on the right track. Read it as one huge column and inside the transformer, split it using the Field() function.
by DSguru2B
Thu Dec 21, 2006 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with editing of Sequence Job Properties
Replies: 3
Views: 873

Its a known bug with windows xp. You need a patch. Refer here