Search found 16 matches

by dsdev750
Fri Aug 03, 2007 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with job design
Replies: 5
Views: 3347

How do you plan to take care of the Count in a PX job( With multiple partitions )?
by dsdev750
Thu Feb 08, 2007 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format (last day of previous month)
Replies: 4
Views: 3340

Since you want to do it in one line,

DateFromDaysSince(-1, StringToDate(DateToString(DSLink2.col1, "%yyyy-%mm-%dd")[1,8] : '01', "%yyyy-%mm-%dd"))
by dsdev750
Thu Oct 12, 2006 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling KeyMgtGetNextValue() while moving machines - Post2
Replies: 13
Views: 20151

As Craig pointed out: 1. Create first job ( on the existing server ) Hash --> Xfm --> Seq (SDKSequences) Have two columns defined in the hash file e.g.: ID VARCHAR(10), VALUE INTEGER(10) Run this job. Transfer the seq file to the 2nd server. 2. Create a 2nd job ( on the new server ) Seq --> Xfm --> ...
by dsdev750
Thu Oct 12, 2006 1:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: keep old values in columns when updating Oracle table?
Replies: 3
Views: 2562

You could have a user-defined update statement like:

UPDATE tbl
SET col1 = NVL(:col1, col1),
col2=NVL(:col2, col2)..
WHERE pk_col=:pk_col
by dsdev750
Thu Oct 12, 2006 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare the two dates which is Greater
Replies: 8
Views: 7806

In the first job, you could read the dataset first and pass the date to a second job as a job parameter(vDateParam). In the second job, use a transformer and a constraint to only let those records through where incoming date is > vDateParam.
by dsdev750
Tue Jul 11, 2006 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic Metadata
Replies: 8
Views: 6927

Thanks everybody for responding. I guess the final answer seems to be to somehow find out the missing columns amd update the file with default values for those columns. Once the file has been updated, Design the DS job in such a way that it reads the data section with the complete static metadata. R...
by dsdev750
Mon Jul 10, 2006 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic Metadata
Replies: 8
Views: 6927

Dynamic Metadata

Hi, I have a requirement to load a file containing dynamic metadata. For one, the column names are included in the same file which has the data. Thus, the seq file (info.20060710 ) looks like : FILE_START FILE_NAME=info.20060710 REC_TYPE=NEW_EMPLOYEE FIELDS_START ID NAME DOB CITY #Comment # MARITAL_...
by dsdev750
Wed Jun 21, 2006 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase error
Replies: 7
Views: 5659

I was able to resolve the issue in a couple of jobs. I was using the SybaseOCPX stage with "Generated SQL query". However, I didn't have the "database owner" with the table name. Thus instead of using "Owner.dbo.TableName" in the "Table Names", I was using &qu...
by dsdev750
Thu Jun 08, 2006 3:07 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Cross Table Analysis across multiple databases
Replies: 2
Views: 4157

Thanks Ray. I checked the Cross Table Analysis and found that it does have the functionality of doing cross table analysis across multiple databases.
by dsdev750
Thu Jun 08, 2006 7:56 am
Forum: Information Analyzer (formerly ProfileStage)
Topic: Cross Table Analysis across multiple databases
Replies: 2
Views: 4157

Cross Table Analysis across multiple databases

Hi, Is it possible to perform a CrossTable Analysis across multiple Sybase databases on the same server. I need to write an extract process that extracts data from multiple databases. I am not too familiar with the data at this point and am wondering if it's even possible to perform such an analysis...
by dsdev750
Mon May 08, 2006 2:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal not fully supported.
Replies: 7
Views: 5572

I am still unable to run the job successfully. I really need to get this resolved ASAP. Any help is greatly appreciated.
Thanks again.
by dsdev750
Thu May 04, 2006 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal not fully supported.
Replies: 7
Views: 5572

It is not saving a 0 in the scale column.

I explicitly entered 0 in the scale column and saved it. However, when I reopen the columns editor, the 0 is not there.
by dsdev750
Wed May 03, 2006 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal not fully supported.
Replies: 7
Views: 5572

I changed the metadata [ default : Decimal(38,10) ] to Decimal 38 [ in the DS job]. The data was written to the table. However, still got the following warnings: Oracle_Enterprise_0: Column PERSON_ID floating point decimal not fully supported. Adjusting scale. Oracle_Enterprise_0: When checking oper...
by dsdev750
Wed May 03, 2006 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal not fully supported.
Replies: 7
Views: 5572

Re: floating point decimal not fully supported

Thanks for the reply Ray.
Do we have to change the table structure in ORACLE. Isn't there a way in the datastage to overcome this. I am asking this because we have a lot of tables already defined with the datatype NUMBER.
by dsdev750
Tue May 02, 2006 6:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: floating point decimal not fully supported.
Replies: 7
Views: 5572

floating point decimal not fully supported.

I am new to the parallel jobs and am having trouble running a simple job. I created a job having 2 Oracle Enterprise stages joined by a link. The Source stage is reading from table aa Person_Id NUMBER first_name VARCHAR2(20) last_name VARCHAR2(20) the target table has exactly the same structure. I i...