Search found 6797 matches

by DSguru2B
Tue Feb 06, 2007 11:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_CONFIG_FILE filename changed
Replies: 5
Views: 1095

Why do you have to change it in every job? All you need to do is change the environment variable to point to the new file.
by DSguru2B
Tue Feb 06, 2007 11:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ICONV AND OCONV ON ADJ-
Replies: 10
Views: 1624

Knowledge of data is required here. I read between the lines of the original specification. Technically you also need to take into account AD/BC and dates beyond 9999-12-31 (to avoid introducing Y10K problems). Are you rigorous in this also? My alert was towards the OP Ray. You showed the OP the wa...
by DSguru2B
Tue Feb 06, 2007 9:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: view
Replies: 7
Views: 1454

138 Million will has 8 digits and a billion will have 9 digits. Is it possible that you might be missing out on a single digit.
by DSguru2B
Tue Feb 06, 2007 9:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ICONV AND OCONV ON ADJ-
Replies: 10
Views: 1624

ray.wurlod wrote:
Year:

Code: Select all

Right(InLink.PERIODNAME,2) + 2000


You have to be careful while adding 2000. If the digits are less than or eqal to 99 or greater than say maybe 23 or something, then you need to add 1900. Basically distinguish between 20th and 21st centuries.
by DSguru2B
Tue Feb 06, 2007 6:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashed file key field
Replies: 12
Views: 3806

Re: hashed file key field

kollurianu wrote:L1 and F1 are not null fields
C1 is a nullable field

That is correct Ray. The OP has only L1 that is NULL and others are not null. Which is why the hashed file is allowing it. If all were nulls it would just reject the record.
by DSguru2B
Tue Feb 06, 2007 6:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unexpected Job Failure
Replies: 14
Views: 8374

I believe the timeout variable represents Tenacity.
by DSguru2B
Tue Feb 06, 2007 6:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get detail error message from Datastage !
Replies: 4
Views: 1126

...and thats a pain. I had to go through that excercise once and o boy o boy.
by DSguru2B
Tue Feb 06, 2007 6:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ICONV AND OCONV ON ADJ-
Replies: 10
Views: 1624

Code: Select all

IF PERIOD_NAME MATCHES 'ADJ...' 
THEN 13 ELSE OCONV(....)


for the PERIOD. Second one looks ok but how many years are you going to hardcode?
by DSguru2B
Tue Feb 06, 2007 5:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting error when try to compile job
Replies: 3
Views: 672

I have never encountered that error and hence cannot provide any further advice. As per the other post, IBM had suggested to remove all references to LDAP. If you require that then I believe you need to get in touch with IBM to get a patch for it.
by DSguru2B
Tue Feb 06, 2007 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ICONV AND OCONV ON ADJ-
Replies: 10
Views: 1624

You can put in an IF then ELSE statement. I doubt ICONV/OCONV will recognize ADJ. I dont have access to datastage or else would have confirmed that for you.
by DSguru2B
Tue Feb 06, 2007 5:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert sybase timestamp to Oracl timestamp
Replies: 19
Views: 7735

1)Yes.
2)Look into the timestamp functions inside the transformer or in the px developers guide. THere is a complete list. I believe you need to change it to string and then to timestamp again, but not to sure.
by DSguru2B
Tue Feb 06, 2007 5:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: view
Replies: 7
Views: 1454

Are you sure you are looking at the right View? Maybe it got updated between when you took count and ran your job :?
by DSguru2B
Tue Feb 06, 2007 5:22 pm
Forum: Site/Forum
Topic: Craig did it again, 9K posts
Replies: 14
Views: 7463

Re: Congrats

asorrell wrote:We would have sent you one but now they are all stuck to each other...

:-)

:lol:
by DSguru2B
Tue Feb 06, 2007 4:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch value for APT_CONFIG_FILE value in Unix environment?
Replies: 12
Views: 3617

Because of the fact that its value might be overwritten during run time as ArndW suggested. Or are you referring to the correct use of grep syntax?