Search found 166 matches

by thumsup9
Fri Sep 08, 2006 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Question
Replies: 15
Views: 4100

Can we do a join here, I am not sure if your source and lookup are both coming from tables on same database, if yes then we can do a join on Table1 and table2 Select KeyId2 from table2 where date2 = (Select Max(table2.Date2) From Table1, Table2 where Table1.Date1<Table2.Date2) You can map this KeyId...
by thumsup9
Fri Sep 08, 2006 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejected row
Replies: 6
Views: 1919

So you have some rows getting rejected but not getting inserted into Error Table. Do you have the insert privileges on that table, Is the metadata same and also are there any constraint violations.. I woud try inserting some rows into this table first.
by thumsup9
Thu Sep 07, 2006 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: look up failed
Replies: 6
Views: 2990

Is this the only message you are getting in the log. Can you please post the log.
by thumsup9
Thu Sep 07, 2006 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Question
Replies: 15
Views: 4100

assuming date2 for one rec is 10th and other record is 9th and you have date 1 as 8th. In this case you have 2 records greater than 8th. You can select the max(date2) to get the latest from them.

HTH
by thumsup9
Wed Sep 06, 2006 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: scratch space
Replies: 6
Views: 3055

what is the memory avaialble , you can check with ulimit -a
by thumsup9
Wed Sep 06, 2006 1:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with SQL Server Bulk Load
Replies: 6
Views: 2564

Thanks for all the inputs. I am waiting to hear from our admin. I will post the results as it comes.

Thanks
by thumsup9
Wed Sep 06, 2006 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with SQL Server Bulk Load
Replies: 6
Views: 2564

Issue with SQL Server Bulk Load

Below is all the error in the log when we are bulk loading into SQLServer. Username,Pwd,tablename and the Server Name seem to be fine as we could load it using an ODBC stage.Please advice.

SQL server OLEDB provider authorization failed.
Failed to establish datasource connection.
by thumsup9
Wed Sep 06, 2006 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning while using oracle stage
Replies: 15
Views: 7835

You can change your NLS settings in Job Properties window or within each stage for a job. Let us know whats your current setting in there.
by thumsup9
Tue Sep 05, 2006 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Format Conversion
Replies: 5
Views: 1493

vardate= DateToString(Date,'YYYY-MM-DD') and then

StringToDate(((vardate)[6, 2]:(vardate)[9,2]:(vardate)[1,4]),'DDMMYYYY')

HTH
by thumsup9
Tue Sep 05, 2006 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Runtime error with SQL Server connection
Replies: 2
Views: 1042

Looks like an issue with disk space on unix. Check the disk space.
by thumsup9
Tue Sep 05, 2006 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Format Conversion
Replies: 5
Views: 1493

vardate=(TO_CHAR(DATE, 'YYYY-MM-DD'), 6, 2):(TO_CHAR(DATE, 'YYYY-MM-DD'), 9, 2):(TO_CHAR(DATE, 'YYYY-MM-DD'), 1,4)

and then convert this back to Date

TO_DATE(vardate,'MMDDYYYY')
by thumsup9
Fri Sep 01, 2006 12:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading to SQL Server
Replies: 2
Views: 1268

You can use an ODBC Enterprise Stage or a DRS stage , depending on your requiremnnt. Enterprise stage is the option.
by thumsup9
Fri Sep 01, 2006 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unexpected exit status 1
Replies: 6
Views: 4763

Keep you Column name as
COL_ID
NEXT_COL
and in the derivation mention
COL_ID#
NEXT_COL#

in your table definitions and see how it works..And one more thing are the columns named as COL_ID#,NEXT_COL# on the DB2 database side.
by thumsup9
Fri Sep 01, 2006 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Runtime Error
Replies: 2
Views: 1399

Is this the complete log message?
by thumsup9
Fri Sep 01, 2006 10:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS Mapping Error
Replies: 4
Views: 2956

What are your NLS Settings for your job. What happens when you set NLS to NONE.