Search found 49 matches

by ghostraider
Thu Feb 22, 2007 12:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validation
Replies: 9
Views: 1421

Validation

Hi everybody, I am extracting two columns named SAMPLE_ID and TEST from an oracle table. Now i need to do a validation based on the condition: If SAMPLE_ID<>Previous_SAMPLEID or TEST<>PREVIOUS_TEST Then Sequence=0 Else Sequence=Sequence+1. Sequence will be a new column which i have to generate. Now,...
by ghostraider
Tue Feb 13, 2007 9:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup using sequential files in parallel extender
Replies: 2
Views: 1134

Lookup using sequential files in parallel extender

Hi all, can a lookup be done using two sequential files, i.e. one of them being the primary input and the other being reference. Is it not advisable to use two flat files to do a look up?
by ghostraider
Tue Jan 30, 2007 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Checking whether string is numerical or not
Replies: 3
Views: 801

Checking whether string is numerical or not

I have some ids like N000083100490420214001 in one of the columns.I have to parse through the id and if positions 2 to 20 in the above id are numeric then i have to map positions 2 to 4 in to an output column else leave the output column blank.How do i check whether positions 2 to 20 are numeric ......
by ghostraider
Wed Jan 24, 2007 8:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture Fatal Error
Replies: 7
Views: 2837

Is LANGU marked as Key? Is it available in both the stream? What is the job design? ... Yes LANGU is marked as key. I am doing a change capture of two sequential files and after change capture i have a basic transformer because i want to change the default delete code '2' to 'D'. The target is a fl...
by ghostraider
Tue Jan 23, 2007 10:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture Fatal Error
Replies: 7
Views: 2837

DSguru2B wrote:See if thispost helps.
DSguru, Thanks for the reply. I did go through the post that you have linked here. I tried all those but it still seems to not work.
by ghostraider
Tue Jan 23, 2007 8:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture Fatal Error
Replies: 7
Views: 2837

Change Capture Fatal Error

Hi guys, i am doing a change capture for two flat files. The files have 6 columns. LANGU, INVTYP, PAYID, FROMDATE, TODATE and TXTMD. I have changed all the datatypes to varchar from char and date. When i run the job i have the following error. "APT_ParallelSortMergeOperator: Error when checking...
by ghostraider
Fri Jan 19, 2007 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of calendar days
Replies: 8
Views: 1733

Number of calendar days

I need to caliculate the no.of days elapsed between two given dates which are in the format yyyy-mm-dd . I need to subtract the greater date from the smaller one to caliculate the no.of days between them
Can anyone please help me out on this...
by ghostraider
Tue Jan 16, 2007 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pulling out Text in between tags
Replies: 11
Views: 2582

Pulling out Text in between tags

After executing a query in sybase the value of one of the text column in the out put gave the following results <tagRoot> <CSTN_LAST_UPD_DTM>04/26/2005 16:30:43.276</CSTN_LAST_UPD_DTM> <CSTN_LAST_UPD_USID>i11317</CSTN_LAST_UPD_USID> <CSTN_CSCF_SEQ_S>0</CSTN_CSCF_SEQ_S> <CSTN_CSCF_SEQ_E>0</CSTN_CSCF_...
by ghostraider
Wed Jan 10, 2007 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default Code in Change Capture
Replies: 2
Views: 831

Default Code in Change Capture

Could someone tell me as to how i can change the default value for the Delete Code in Change Capture stage. I want the Delete Code as D but it only accepts integers. Thanks
by ghostraider
Tue Jan 09, 2007 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RFC Load
Replies: 3
Views: 1031

RFC Load

Does anyone have an idea of how to do an RFC load? Can someone tell me as to how i should go about it?

Thanks
by ghostraider
Thu Jan 04, 2007 6:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 11
Views: 2996

DSguru2B wrote:Darn, next time maybe :wink: ...
Thanks guys. I have used eReplace as of now. Will try using other functions and update about it.
by ghostraider
Wed Jan 03, 2007 7:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 11
Views: 2996

I_Server_Whale wrote:You can use Trim to that effect.

Code: Select all


Trim(InCol.Date, "-","A")
Whale.

Thanks Narasimha and I_Server_Whale. I will let you know about the result. Narasimha, yes all i want to do is remove the spaces.
by ghostraider
Wed Jan 03, 2007 7:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 11
Views: 2996

Date Format

Hi, i have a date field of the format yyyy-mm-dd. Now i want to convert it into yyyymmdd. I have tried using, OConv(IConv(link1.date,"D-YMD[4,2,2]"), "DYMD[4,2,2]") and got an output of the form yyyy mm dd. Can someone tell me as to how i can remove the space? Thanks
by ghostraider
Tue Jan 02, 2007 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 5
Views: 1078

DSguru2B wrote:It could be YYYY-MM-DD, it could be MM-DD-YYYY. You need to tell us that. We will tell you how to get it converted. Actually the website will. ...
It is MM-DD-YYYY format. thanks
by ghostraider
Tue Jan 02, 2007 2:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Constraint and Reject
Replies: 7
Views: 2378

Such dates are not guaranteed to sort correctly. Convert them to internal format (or to YYYY-MM-DD format) and use these forms in your constraint expression. ... I have used Iconv too. Here is what i have written. Iconv(DSLink1.TERMINATION_DATE,"D/MDY(2,2,4)")> Iconv(DSLink2.ACTUAL_OPEN_D...