Search found 6797 matches

by DSguru2B
Mon Mar 12, 2007 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

Dont change it. Just build another job to do the same except, without the link collector. This is just for debugging purposes.
I have had issues with link collectors and hashed files (connected together) before and therefore dont like them next to each other.
by DSguru2B
Mon Mar 12, 2007 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 17
Views: 4580

I am still not able to understand whats the use of the parameter if your not using it for your transformations. Anywho, the following should work For #1: StringToDate(DecimalToString(YearFromDate(CurrentDate())-1):"-12-01", "%dd-%MMM-%yy") and for ...
by DSguru2B
Mon Mar 12, 2007 1:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim trailing characters
Replies: 7
Views: 1089

Forget the trim function. Use the Field() function to extract everything before "(".

Code: Select all

Field(in.Col, "(", 1)
by DSguru2B
Mon Mar 12, 2007 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

What happens when you write to the same hashed file from these 18 hashed files without the link collectory?
by DSguru2B
Mon Mar 12, 2007 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 17
Views: 4580

....more like how do keep chicks interested. :wink:
by DSguru2B
Mon Mar 12, 2007 1:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command - Shell script execution error
Replies: 12
Views: 14819

Well the permissions look fine. I am running out of ideas now. I guess its upto you. Put a bunch of echo statements in both your scripts. These statements will show up in the log. See how far it goes without breaking.
by DSguru2B
Mon Mar 12, 2007 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset the sequencer
Replies: 6
Views: 1038

Dont make it restartable. And yes, reset it and then run. It will run from the begining.
by DSguru2B
Mon Mar 12, 2007 12:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

Then how do you expect us to help you? No info of even the design, what your trying to do in the job, the data volume etc etc etc :?
by DSguru2B
Mon Mar 12, 2007 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

What do you mean freezing? Is the designer client freezing or the job is hanging? What additional messages do you get in the log file? Reset the job and see if you have any messages "From previous run ..."
Need more info on design as well.
by DSguru2B
Mon Mar 12, 2007 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command - Shell script execution error
Replies: 12
Views: 14819

At a glance the scripts look fine. Just make sure that both scripts have permission to be executed by your datastage id.
by DSguru2B
Mon Mar 12, 2007 12:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: custom SQL in ODBC satge
Replies: 9
Views: 2251

Actually it was all Ken. I just translated his suggestion in code. Thanks Ken :wink:
by DSguru2B
Mon Mar 12, 2007 12:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: custom SQL in ODBC satge
Replies: 9
Views: 2251

Pass your date in the format YYYYMMDD. Your query will look something like this select * from myTable where week_code between (SELECT week_code FROM time_dim where FISCAL_DATE = #dateparam#) AND (SELECT week_code FROM time_dim where FISCAL_DATE = TO_CHAR(TO_DATE(#dateparam#,'YYYY...
by DSguru2B
Mon Mar 12, 2007 11:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can an after job Routine Connect to Oracle Database
Replies: 6
Views: 1478

Do it in a job. Get all the info into a flat file and then load it into the table. You dont have to do it in the after job sub-routine.
by DSguru2B
Mon Mar 12, 2007 11:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command - Shell script execution error
Replies: 12
Views: 14819

I hope you are initializing all the variables ($) inside your script. The script looks ok. Post your entire script please.
by DSguru2B
Mon Mar 12, 2007 10:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command - Shell script execution error
Replies: 12
Views: 14819

Handle all errors inside your script and exit explicity using a return code of 0 for successful and 1 unsuccessful.