Search found 74 matches

by shalini11
Thu Apr 30, 2009 3:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to restore the datastage projects
Replies: 7
Views: 3040

how to restore the datastage projects

Hi All,

Could you please tell how to restore the datastage project in unix server.By mistakes all datastage installation directory is deleted.


Thanks in adv
by shalini11
Tue Apr 28, 2009 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

As per the requirement, it will be fine for me
by shalini11
Tue Apr 28, 2009 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

Thanks Mohan,

I used StripWhiteSpaces() and it worked fine.

If StripWhiteSpace(Col1)<>StripWhiteSpace(Col2) Then Trim(Col1) : " ":Trim(Col2) Else Trim(Col1)

Thank you all
by shalini11
Tue Apr 28, 2009 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

If I use single words as column values, then the condition is working fine. But when I use values like 'Air Conditioner', 'AC Service', then transformer treats them as different.

How can i remove the spaces in between the values.
by shalini11
Tue Apr 28, 2009 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

One thing I forgot to tell the strings are having spaces in between.

Eg: Air Conditioner

But both the column values are same with the spaces also at the same position. Then also it is considering them as different and concatenating.
by shalini11
Tue Apr 28, 2009 6:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

Thanks for the reply

I am using the same condition.The columns are getting concatenated even if they are same. They should be concatenated only if they are different
by shalini11
Tue Apr 28, 2009 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 strings in transformer
Replies: 11
Views: 12643

Compare 2 strings in transformer

Hi All, I have a requirement to compare 2 columns and if they are same then print the 1st one. If both are different, then print the 1st concatenated with the 2nd. Eg: The 2 columns are: Col1 Col2 Air Air Water Air In the 1st case Col1=Col2, so the output should be Air In the 2nd case Col1<>Col2, so...
by shalini11
Wed Apr 08, 2009 5:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I have to use "in" condition within "if"
Replies: 4
Views: 1304

if OKCUA4='' and (OKCUA3=counties1 or OKCUA3=counties2...) then OKCUA2
else if OKCUA4='' and (OKCUA3<>counties1 or OKCUA3<>counties1 ...)then OKCUA3
else if (OKCUA4=counties1 or OKCUA4=counties2...)then OKCUA3
else OKCUA4
by shalini11
Wed Apr 08, 2009 5:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not aborting in case of primary key violation error
Replies: 4
Views: 1713

Now the job is getting aborted if I am trying to insert records with duplicate values for the primary key into a tablebut the records are getting inserted and auto committed. And the primary constraint becomes disabled. What should I do so that in case of primary key violation, the records should no...
by shalini11
Wed Apr 08, 2009 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading/Importing issues in sequential stage
Replies: 7
Views: 5283

Give Null Field Value as "" instead of Null Field Length.
by shalini11
Wed Apr 08, 2009 3:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read the file in routines
Replies: 5
Views: 2382

May be this can be of little hepl to you

Code: Select all

OPENSEQ filename TO filevar Then
Loop
            ReadSeq ln From filevar Else Exit      
            filetxt = ln
         Repeat
CloseSeq filevar
by shalini11
Wed Apr 08, 2009 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CDC:Warning
Replies: 3
Views: 3141

This warning comes with option Explicit keys and values for all the columns which are not used as a key or a value in CDC. If your requirement permits,use a copy stage between your source stage and CDC and pass only those columns which you require for change capture. Else use the option Explicit key...
by shalini11
Thu Apr 02, 2009 1:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to view dataset in unix
Replies: 4
Views: 9514

Thanks for the reply. I have set the PXEngine library path. Now it is giving another error: ##E TFPA 000021 $APT_CONFIG_FILE was not set, and config.apt was not found in the working directory or in $APT_ORCHHOME/etc. ##F TFCF 000009 Fatal Error: Cannot continue without a configuration file. $APT_CON...
by shalini11
Thu Apr 02, 2009 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating seq nos
Replies: 10
Views: 6319

Pass (max(col)+1) as a job parameter and then use this parameter in Surrogate key Generator. Give the start value as the value of this parameter.
by shalini11
Thu Apr 02, 2009 12:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to view dataset in unix
Replies: 4
Views: 9514

How to view dataset in unix

Hi All, I am trying to view dataset from unix using the below command: orchadmin dump output.ds This is giving error: ld.so.1: orchadmin: fatal: liborchgeneralsun4.so: open failed: No such file or directory Killed How should I give the orchadmin command so that I am able to view data from dataset? T...