Search found 284 matches

by abhilashnair
Thu Mar 10, 2011 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

Thanks jwiles. It is working now. I did not use the stage variables. I just used the earlier concatenation formula this time enclosing the Ifs and Else in brackets.
by abhilashnair
Wed Mar 09, 2011 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

How about something a little simpler (and probably more efficient CPU-wise as well), like this: svDay: Convert("abcdefghijklmnopqrstuvwxyz","",Field(COLNAME," ",1)) svDate: svDay : " " : Field(COLNAME," ",2) : " " : Field(COLNAME," &q...
by abhilashnair
Wed Mar 09, 2011 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

Data string '2011-02' does not match format '%yyyy-%mm-%dd Try using '%yyyy-%mm' instead. ... Hi Ray, Actually I need yyyy-mm-dd. The formula inside StringToDate is just giving yyyy-mm and passing it on to StringToDate as argument The output of the derivation should be 2011-02-23....somehow it is g...
by abhilashnair
Wed Mar 09, 2011 12:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

I used the Field Function and did this but now I am facing a rather strange problem. My source column data is like 23rd February 2011 I used the following stage variable. Pasted the derivation below Note that the delimiter in Field is 1 space. StringToDate(Field(COLNAME," ",3):'-':If Field...
by abhilashnair
Tue Mar 08, 2011 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

My requirement is exactly the same as mentioned by you in point a). That is Simply load the source value (varchar) into the target column (date), converting datatypes in the process The downstream processes can extract the required format using SQL But the issue here is that the source table has all...
by abhilashnair
Tue Mar 08, 2011 12:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 15
Views: 8821

Date Conversion

I have a column in source DB2 table which is defined as Varchar, It contains Date of Birth in the format '1st January 2011' (without quotes)

My target DB2 table has the same column but data type is Date. I need the above source data in this column in the same format as above..How can I do this ?
by abhilashnair
Thu Feb 24, 2011 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data type not supported
Replies: 4
Views: 1694

Resolved. Query used inside ODBC.

SELECT CAST(COLNAME AS VARCHAR(4000) AS COLNAME FROM TABLENAME

Define Metadata as VARCHAR. Length 4000
by abhilashnair
Wed Feb 23, 2011 3:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data type not supported
Replies: 4
Views: 1694

The job fails with error " Data type not supported"
by abhilashnair
Tue Feb 22, 2011 5:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data type not supported
Replies: 4
Views: 1694

Data type not supported

I am facing problem with DB2 data type Long Varchar. The column is defined as Long Varchar in DB2. The max length of the contents inside this field is 16000. I fired a query to make sure of this. I am using ODBC Enterprise stage and trying to read this column data in datastage. I have imported meta ...
by abhilashnair
Tue Feb 15, 2011 11:54 pm
Forum: General
Topic: Job names not appearing on repository
Replies: 10
Views: 5655

I have not tried this one..Not sure how to go about that.

I have tried stopping and restarting engine but it did not resolve the issue.
by abhilashnair
Mon Feb 14, 2011 4:02 am
Forum: General
Topic: Job names not appearing on repository
Replies: 10
Views: 5655

Any ideas? Anyone?
by abhilashnair
Mon Feb 14, 2011 12:41 am
Forum: General
Topic: Job names not appearing on repository
Replies: 10
Views: 5655

Yes I can..The issue is only in Designer. I can see the Default Folder Tree inside the project...i mean the system folders such as Jobs, Transforms, Routines etc..But I am not able to view the names of sub folders that I create manually inside one of the above mentioned system folders.Neither can I ...
by abhilashnair
Mon Feb 14, 2011 12:19 am
Forum: General
Topic: Job names not appearing on repository
Replies: 10
Views: 5655

Job names not appearing on repository

I am not able to view any job names in the repository. I can view the folders and when I expand those, I can view the job Short description but not the job name. DataStage Client is v8.1
by abhilashnair
Mon Feb 07, 2011 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while using DB2 Enterprise stage
Replies: 1
Views: 1074

Error while using DB2 Enterprise stage

I am trying to use DB2 Enterprise stage. The DB2 is setup on remote server, DataStage version is 8.1, DB2 client version is V9.5. Db2 Server version is also 9.5. The job has a DB2 enterprise stage and a Dataset..I am trying to fetch records from a table using Select query and o/p the records to the ...
by abhilashnair
Tue Nov 09, 2010 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subrecord, Vector, Tagged Overview
Replies: 3
Views: 2373

Data has various record types and it comes as a fixed width flat file. In a specific record type there is a key column. This is the parent..There are other record types which contain the same key and these are the children of the former.