Search found 132 matches

by Amit_111
Thu Jul 22, 2010 6:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Avoid a Possible Deadlock
Replies: 4
Views: 2728

To Avoid a Possible Deadlock

Hi All, I have a Flag in my Job based on which I have to either Insert a record or Update the record in the target. While Update i have to update only 3 columns out of 10 thats the reason i cannot use "Insert/Update Option" in a single link. I searched the forum for such cases and found th...
by Amit_111
Mon Nov 17, 2008 12:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Order By before Hashed Stage
Replies: 11
Views: 3429

The "order by" won't affect the actual lookup itself but can affect the hashed file population. Where exactly do you "order by"? And "rejected" in this case means the looku ... I am doing the 'Order By' while selecting the records through the Oracle Stage i.e. just bef...
by Amit_111
Thu Nov 13, 2008 6:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Order By before Hashed Stage
Replies: 11
Views: 3429

Sorry Craig, I didn't get your point and what your were pointing towards. I will just explain my Job design. I have some records from the Source tables. I have a Lookup query which brings the Policy Numbers and other requred feilds with it in a Hashed file on which a Lookup is done. Now I need to ch...
by Amit_111
Sat Nov 01, 2008 8:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Order By before Hashed Stage
Replies: 11
Views: 3429

But When I use my query as is and do Lookup on it .... I miss out some records which are actually present in the LookUp and which should have matched..............And when I order by my Lookup query and take data in the Hashed file all records wihich actually should match goes in the target.......Wh...
by Amit_111
Thu Oct 23, 2008 3:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Order By before Hashed Stage
Replies: 11
Views: 3429

Order By before Hashed Stage

Hi All,

I have a simple question, Do we need to provide a sorted data as input to a Hashed Stage so that a proper and correct lookup logic can be applied on the hashed file????

Thanks in Advance.
by Amit_111
Fri Sep 26, 2008 5:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UtilityHashLookup Compilation Error in Uservariabe_Activity
Replies: 1
Views: 1831

UtilityHashLookup Compilation Error in Uservariabe_Activity

I am doing a UtilityHashLookup on a hash file to read a value from the hash file. I have written this transform utility in the "Expression Editor" of the "UserVariables_Activity" stage. For e.g. UtilityHashLookup("testparam", 1, 1) in the "UserVariables_Activity&qu...
by Amit_111
Wed Sep 24, 2008 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Month End Date
Replies: 4
Views: 3532

Month End Date

Hi All, I have a date in the format 'YYYYMMDD'. It will be the last day of a month for eg. 20080831 now I need to derive two dates from this date one is Start date of next month i.e. "20080901" and End Date "20080930". I searched in the forum and found out the solution for parall...
by Amit_111
Fri Sep 19, 2008 9:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv Oconv Issue
Replies: 5
Views: 2983

Thanks Craig it working now. I used as follows:

OCONV(ICONV(ColumnName,"D DMY"),"D YMD[4,2,2]")
by Amit_111
Fri Sep 19, 2008 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv Oconv Issue
Replies: 5
Views: 2983

My date format is "19-SEP-08" in source table.
by Amit_111
Fri Sep 19, 2008 5:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv Oconv Issue
Replies: 5
Views: 2983

Iconv Oconv Issue

Hi All, I am getting a strange issue with Iconv Oconv function. I have generated a function to retrive a date and insert it in the target table. The function i have written is as follows : " OCONV(ICONV("Column_Name","D-MDY"),"D YMD[4,2,2]") " It is working fi...
by Amit_111
Wed Sep 17, 2008 9:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI Date Conversion failed
Replies: 4
Views: 5247

Actually, i kept them as it is initially and did the "View Data" but then i got the error saying "Attempt to convert string value '01-SEP-01' to Timestamp type unsuccessful". But i checked the source datatype in table table and it is actually a date format. Still i then changed t...
by Amit_111
Wed Sep 17, 2008 9:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetJobInfo to execute in a shell script
Replies: 3
Views: 2218

Thanks Craig and Ray for your valuable pointers.
I could get the link Information through dsjob in the Unix Shell script.
by Amit_111
Wed Sep 17, 2008 9:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI Date Conversion failed
Replies: 4
Views: 5247

OCI Date Conversion failed

Hi All, i have a source table having some date fields. i am extracting the data for these columsn in the 'Oracle OCI 9' Stage. But when I import the metadata for the same table through DataStage; the Datatype is coming as "TimeStamp 38". Why is DS importing the column datatype as "Tim...
by Amit_111
Sat Sep 13, 2008 8:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetJobInfo to execute in a shell script
Replies: 3
Views: 2218

DSGetJobInfo to execute in a shell script

Hi All, I want to execute the commands "DSGetJobInfo", "DSGetLinkInfo" through Unix shell script to get information like "StartTime" "EndTime" and records passed throuh the links of a particular job. I further want to get the output of these functions in a var...
by Amit_111
Thu Sep 11, 2008 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Table Type returned by Stored Procedure in DS Job
Replies: 5
Views: 2090

Thanks for your Inputs.....Actually I am executing a Stored Procedure through DS Job .....the stored procedure is returining values in a "table type" format....just wanted to know if the STP can take this records set and proceed ahead with the transformation.....I will check in pdf and try...