Search found 230 matches

by sb_akarmarkar
Tue May 02, 2006 2:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: string into date format
Replies: 2
Views: 1651

Re: string into date format

i'm trying to convert string into date format. for example i get a date value as a string such as "01/03/2005" than converting into date format: 2005-03-01. i'm using this code: Oconv(Iconv("inputColumn", "D/E"), "D-YMD[4,2,2]") but executing it in the transf...
by sb_akarmarkar
Tue May 02, 2006 2:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to see the existing jobs
Replies: 9
Views: 3877

HI akarmarkar, Its not at all a issue if you have two jobs with the same name in different projects in a single datastage server. The message saying that the object already exists could be for some other reason Regards Sreeni I think you did not get..if he is connecting to different project and imp...
by sb_akarmarkar
Tue May 02, 2006 1:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Audit counts
Replies: 7
Views: 2216

Use DSGetJobInfo() also....

Thanks,
Anupam
by sb_akarmarkar
Tue May 02, 2006 1:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Due to Informix ODBC driver error few rows getting rejected
Replies: 6
Views: 3215

Capture link data rejecting in update and try to insert into Informix using Informix SQL client tool...It will show exact reason of rejection in database.

Thanks,
Anupam
by sb_akarmarkar
Tue May 02, 2006 1:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to see the existing jobs
Replies: 9
Views: 3877

Are you able to view the job from manager into you project?? Datastage Manager connects to all project you are using on server..May be you have multiple projects and while importing it may be you imported into different project and looking for job into different project. While importing open project...
by sb_akarmarkar
Tue May 02, 2006 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run job based upon date found in target
Replies: 10
Views: 2573

Hey Kris,

I think you can try to get solution using @INROWNUM
In stage variable use @INROWNUM=1 and Lookup comparsion is successful which will verify your file header column value then process other rows else dont process row by providing condition in constraint.


Thanks,
Anupam
by sb_akarmarkar
Fri Apr 28, 2006 12:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove duplicates and capture count
Replies: 4
Views: 1284

Kris,


Count * group by 1234 where TYPE is ALPHA.
Count * group by 1234 where TYPE is BETA mulitply by 3.

Join both query on 1234 and add both count....

Thanks,
Anupam
akarmarkar@smart-bridge.co.in
by sb_akarmarkar
Thu Apr 27, 2006 11:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updation rows are incremented by 1
Replies: 3
Views: 760

I think your order is not correct. 2nd variable should be last if you are using lookup...

Thanks,
Anupam
by sb_akarmarkar
Thu Apr 27, 2006 11:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: flat files, memory
Replies: 10
Views: 2651

You can also use hash calculator utility , where you can specify the size of your file and hash caculator dispalys syntax to create hash file.


Thanks,
Anupam
akarmarkar@smart-bridge.co.in
by sb_akarmarkar
Thu Apr 27, 2006 11:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Open Error in connecting to a database
Replies: 2
Views: 1099

Re: Open Error in connecting to a database

dwandbi wrote:Hi,
Why do you get DSP.Open error even though we are able to connect to database while pulling data from tables?

thanks,
latha
Latha,

Can you explain more where are you getting this error.

Thanks,
Anupam
by sb_akarmarkar
Thu Apr 27, 2006 11:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datetime difference
Replies: 7
Views: 2085

Thanks Anupam, for the solution. I am looking for the difference in dates , say 12/31/2002 6:00:00 PM and 12/31/2002 6:00:00 PM and 19/31/2002 6:30:00 AM where both r having datatype as timestamp and target is having datatype as NUMBER (here difference will be in MInutes) Can u plz give the Solutio...
by sb_akarmarkar
Thu Apr 27, 2006 6:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join 2 tables on a key without using lookup
Replies: 12
Views: 2959

If you are using Database stage then you can define INNER,RIGHT,LEFT, IN, NOT IN... manually in user-defined query...OCI consits of IN, NOT IN but RIGHT,LEFT outer join is not there...If you write user defined query you can tune query in your own way...

Thanks,
Anupam
by sb_akarmarkar
Thu Apr 27, 2006 5:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datetime difference
Replies: 7
Views: 2085

Use following to get time in min
Arg1 and Arg2 is time ex: "02:34 am"

Result=Oconv((Iconv(Arg1[1,8],"MTH") - Iconv(Arg2[1,8],"MTH")),"MTH")

Ans= (substrings(Result,1,2) * 60) + substrings(Result,4,2)


Thanks,
Anupam
by sb_akarmarkar
Thu Apr 27, 2006 4:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join 2 tables on a key without using lookup
Replies: 12
Views: 2959

User defined SELECT query in stage......

Thanks,
ANupam
by sb_akarmarkar
Thu Apr 27, 2006 4:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datetime difference
Replies: 7
Views: 2085

Hi,

From database itself you can get days difference by writing user defined query oracle source. Or using ICONV and OCONV with "MTH", You can get time difference in Datastage.


Thanks,
Anupam