Search found 42189 matches

by chulett
Mon Jun 11, 2012 9:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding by default
Replies: 9
Views: 7336

No, by default (which is what I assume you mean by 'implicitly') DataStage pads with NULLs which are I assume what the boxes are in your target. You want the fields padded with spaces and to do that you'll need to explicitly set the environment variable noted to "0x20".
by chulett
Mon Jun 11, 2012 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding by default
Replies: 9
Views: 7336

First off, confirm the data types of both your source and target fields. If they are both not CHAR fields, then this discussion is moot. If they are then you really should be padding with spaces not nulls.
by chulett
Mon Jun 11, 2012 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get lastmonth timestamp in transformer
Replies: 5
Views: 2024

Your example looks wrong for the description posted... -11 months? :? It would probably be helpful to know what you've tried already, for example did you give DateFromDaysSince() a try? Granted you'd have to use 30 or 31 for the number of days in a month, but it would get you... close. I'd also be c...
by chulett
Mon Jun 11, 2012 7:20 am
Forum: General
Topic: How to assign parameter a value
Replies: 10
Views: 3872

If I felt this discussion was something specific to the PX product, I would have moved it already. :wink:

This is a perfectly appropriate General topic. Carry on!
by chulett
Mon Jun 11, 2012 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding by default
Replies: 9
Views: 7336

That variable was set to 0x20 I assume, if you are getting spaces as the padding character. To switch back to null padding, you would set it to 0x00 instead.

Note that this only applies to CHAR fields, not VARCHAR fields.
by chulett
Mon Jun 11, 2012 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to update end_dt for previous records
Replies: 5
Views: 2125

:!: Nikhil - please start your own post so we can know the details of your 'similar' issue.
by chulett
Mon Jun 11, 2012 6:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String to Date conversion issue
Replies: 9
Views: 3063

So Teradata needs the date in internal format? Don't recall hearing that before. Have you verified that you get the correct date in the database rather than it works because the job no longer throws the error?
by chulett
Sun Jun 10, 2012 11:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VARCHAR TO BIGINT
Replies: 7
Views: 4392

Re: VARCHAR TO BIGINT

srinivasudatastage wrote:Conversion is not required for your senario.

we can't convert integer to varchar.
a) yes it is
b) yes you can


ps. they're going the other way (varchar to bigint)
by chulett
Sun Jun 10, 2012 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VARCHAR TO BIGINT
Replies: 7
Views: 4392

Some body is incorrect. Investigate the StringToDecimal() function.
by chulett
Fri Jun 08, 2012 1:07 pm
Forum: General
Topic: How to assign parameter a value
Replies: 10
Views: 3872

1) Use a Server job to fetch the parameter value. 2) Write the parameter value to the job's USERSTATUS area 3) Assign all downstream job parameter values to $UserStatus from the Server job. You'll need to build a little routine to call the DSSetUserStatus function but the code for that can be found ...
by chulett
Fri Jun 08, 2012 11:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Set record count (not orchadmin)
Replies: 5
Views: 2156

Well... there is an actual "Orchestrate Guide" but according to Ray you have to request it from your support provider.
by chulett
Fri Jun 08, 2012 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting Not Null field resulting in Warning
Replies: 2
Views: 1942

It's because of the aggregation you are doing in the source SQL, in essence creating a calculated column. While you may know that the column being aggregated is not nullable, DataStage makes no such assumption about the result and assumes that any computed field can be null.
by chulett
Fri Jun 08, 2012 8:52 am
Forum: General
Topic: Jobs not showing in Director
Replies: 8
Views: 2527

Re: Jobs not showing in Director

Welcome. :) I have other co-workers who have Director installed locally (i accesse a remote computer). And they can see the jobs and Director works fine. But with i try to access remotly to the computer with the Director, the jobs don't load. Thanks for the detailed explanation. The fact that it wor...
by chulett
Fri Jun 08, 2012 8:45 am
Forum: General
Topic: Execute Log
Replies: 3
Views: 1770

Well... without a more definitive explanation of the issue, we're just guessing. How are you running the script after the Exception Handler - the Execute Command stage? If so it should wait for the script to complete before moving on to the Email Notification unless you are doing something unusual t...
by chulett
Fri Jun 08, 2012 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: .rhost file location
Replies: 17
Views: 7395

Re: .rhost file location

I'm not sure how far you are going to get past this: I have installed datastage 7.5x2 on windows 7 ultimate OS. That version is ancient and specifically architected to run on XP. I do not think it was architected for XP. XP is for client but the server has to be Windows Server 2003, I think. You ar...