Search found 6797 matches

by DSguru2B
Fri Jan 26, 2007 1:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 13520

Ok. Try one of these. They should work Call DSExecute("UNIX","echo $prm_project_path$prm_path_common",UnixOutput,SystemReturnCode) HashFilePath = Field(UnixOutput, @FM,1) OR Call DSExecute("UNIX","echo $prm_project_path$prm_path_common",Uni...
by DSguru2B
Fri Jan 26, 2007 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle lookup failure
Replies: 7
Views: 1901

Re: oracle lookup failure

suri wrote:>ORA-01017: invalid username/password; logon denied

Your error tells you all.
Do you have special characters in your password?
by DSguru2B
Fri Jan 26, 2007 1:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Date format in oracOCI
Replies: 38
Views: 8420

Try creating another job with the OCI stage pointing to your present table. This time your source will be this particular table. This way you are passing a simple select. Try to view data from there. See if it works.
by DSguru2B
Fri Jan 26, 2007 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tranformer Constraint Expressions
Replies: 36
Views: 13920

So much confusion going on. What are you trying to do? Can you explain in plain words.
by DSguru2B
Fri Jan 26, 2007 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 13520

That is because your routine says something else and the DSExecute() statement reveals something else. Tell me this, what are the values of $prm_project_path and $prm_path_common?
by DSguru2B
Fri Jan 26, 2007 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems in converting date to timestamp
Replies: 17
Views: 4413

just4geeks wrote:very interesting.....no warnings while job runs....


That was a huge hint :wink:
by DSguru2B
Fri Jan 26, 2007 11:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Date format in oracOCI
Replies: 38
Views: 8420

You forgot a space before the time part.

Code: Select all

OCONV(ICONV(Date,"D/MDY[2,2,4]"),"D-YMD[4,2,2]"):" 00:00:00"

I am just amazed as to how your data gets loaded with messed up data format and no warning shows up.
by DSguru2B
Fri Jan 26, 2007 11:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Time Calculation
Replies: 3
Views: 900

I think you will be better off to get this done on TIVOLI. I think they have a mechanism to monitor the run time and perform an action upon it.
by DSguru2B
Fri Jan 26, 2007 11:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2/UDB
Replies: 3
Views: 1320

Any directory on the DB2 server. Now see, its been a while since I last used the Load stage. I am pretty sure the Temp_Dir needs to be on the Db2 server. Anywho, try it. Create a directory that you have access too. Pass that directory path in this property. The load stage will create the files there...
by DSguru2B
Fri Jan 26, 2007 11:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 13520

Ahh....The field markers. Then how about the OP tries this

Code: Select all

HashTable = Field(HashFilePath1,@FM,1):'/Translation_hsf' 
by DSguru2B
Fri Jan 26, 2007 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Date format in oracOCI
Replies: 38
Views: 8420

chulett wrote:[ I'm getting tired of explaining this over and over, guess that FAQ on the subject is long overdue.

I say AYE AYE for that :wink:
by DSguru2B
Fri Jan 26, 2007 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 13520

You sure your not sending in any spaces. Try

Code: Select all

HashTable = TRIM(HashFilePath):'/Translation_hsf'
by DSguru2B
Fri Jan 26, 2007 11:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Date format in oracOCI
Replies: 38
Views: 8420

DB2 does. I dont think oracle does and hence my original question and doubt.
Try sending in your data as

Code: Select all

OCONV(ICONV(Date,"D/MDY[2,2,4]"),"D-YMD[4,2,2]")
by DSguru2B
Fri Jan 26, 2007 11:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2/UDB
Replies: 3
Views: 1320

Click on the property help. It will tell you what needs to go there. It basically requires you to give a directory path on the DB2 server, if i recall correctly, for the three files that are necessary to execute your load job.
by DSguru2B
Fri Jan 26, 2007 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Date format in oracOCI
Replies: 38
Views: 8420

Ok. When you check the data using TOAD. Do you see correct data? Is it the same one that you inserted?