Search found 26 matches

by gaurang033
Thu Aug 30, 2012 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Len function not working properly
Replies: 7
Views: 3038

Hi All,

Thanks for your replies,

my pad string is 0x20. If I am not wrong this means space.

I changed my trim function as follows and with surprise it worked.

Code: Select all

 Trim(input.col1,char(0),'') 
Can anyone explain me why ???
by gaurang033
Thu Aug 30, 2012 2:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Len function not working properly
Replies: 7
Views: 3038

Any idea how to remove this pad string. ??
by gaurang033
Thu Aug 30, 2012 2:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Len function not working properly
Replies: 7
Views: 3038

Len function not working properly

Hi all, I have following job design FF ---> Transformer ---> Transformer2 ---> FF2 FF - Fixed Length, All columns are characters Transformer -> converts Characters to Varchar Transformer2--> Uses Stage variable (svLength) svLength=Len(Trim(Input.Col1[1,8])) However svLength always gives me 8, even f...
by gaurang033
Fri Dec 30, 2011 4:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle connector UpSert rejects some records
Replies: 4
Views: 4193

To nagarjuna It rejects with the error text as "Row not updated" with error code "0" which says successful completion. To jreddy Before this load job i have Transformer job where i m taking CDC, finding which are update and insert and then merging them. The thing is my insert th...
by gaurang033
Tue Dec 27, 2011 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle connector UpSert rejects some records
Replies: 4
Views: 4193

Oracle connector UpSert rejects some records

Hi guys, I am using ORACLE Connector stage. For upsert If i use Insert then update it works fine, however as my files has updates more then insert it takes too much time. So i Changed it to Update then insert . Now the problem is when it fails to update the rows rather then inserting it sends it to ...
by gaurang033
Fri Dec 16, 2011 4:26 am
Forum: General
Topic: Weird problem with command activity
Replies: 7
Views: 3927

no there is no problem with the path. i copy the command generated by sequence from log and run on shell and it gives output.
by gaurang033
Fri Dec 16, 2011 1:07 am
Forum: General
Topic: Weird problem with command activity
Replies: 7
Views: 3927

Re: Weird problem with command activity

this is also not working.

Code: Select all

 echo $1
if i will call above script like as below, it will list all the files

Code: Select all

sh findFiles.sh "aa*1"
However if i call same script with same parameter from Execute command it prints only following line
aa*1
by gaurang033
Fri Dec 16, 2011 12:54 am
Forum: General
Topic: Weird problem with command activity
Replies: 7
Views: 3927

Weird problem with command activity

Hi All, I have a shell script which i am calling from command activity, the script gives desired output when i run from Shell but it behaves weird when i call it from command activity. I debug the script and figure it out that there is a particualr part in script which bahevs unexpected when i call ...
by gaurang033
Tue Dec 06, 2011 4:54 am
Forum: General
Topic: Export from command line
Replies: 5
Views: 3238

Hi, I got this option while searching.. https://www-304.ibm.com/support/docview.wss?uid=swg1JR38643 /NODEPENDENTS however the problem is.. when i do export i want both job design and executable. And when I export using command i only gets Job design and if i use option /EXEC i m able to export only ...
by gaurang033
Mon Dec 05, 2011 7:53 am
Forum: General
Topic: Export from command line
Replies: 5
Views: 3238

Export from command line

Hi All, I am trying to export the datastage jobs using command line. I am using following command but the problem is it is executing with dependent object also.. is there any way I can export without dependent object, both executable and design. dsexport.exe /D=dev244:9080 /U=gaurang.shah /P=passwor...
by gaurang033
Mon Nov 28, 2011 4:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Netezza enterprise stage problem
Replies: 0
Views: 1647

Netezza enterprise stage problem

Hi All, I am using netezza enterprise stage in one of my job. The problem is table into which i have to load the data has composite key. So in netezza stage in keycolumns i provided both... and in uniquekey column i have provided one of them. Now it gives me this Error "None of the Keys of the ...
by gaurang033
Wed Nov 23, 2011 10:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle enterprise stage gives warning
Replies: 4
Views: 1851

I know how to handle through message handler. i want to know is there any way apart from that ????
by gaurang033
Tue Nov 22, 2011 8:20 am
Forum: General
Topic: is there any way i can use variable in email body
Replies: 3
Views: 2535

is there any way i can use variable in email body

Hi all,

Is there any way i can use the varriable or command output in "Email Body" of notification activity ???
by gaurang033
Tue Nov 22, 2011 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle enterprise stage gives warning
Replies: 4
Views: 1851

ShaneMuir wrote:It is possible with message handlers.

However what is the warning message? Is it something that can be resolved without suppressing the message?
warning message is as follow

ORA_DB,2: Number of records rejected on the current node: 2272
by gaurang033
Tue Nov 22, 2011 7:31 am
Forum: General
Topic: Sequence hangs while sending mail.
Replies: 2
Views: 1296

Sequence hangs while sending mail.

Hi guys I have sequence which send the mail... in the attachment it is as follows. #UserVariables_Activity.files# and in the UserVariables_Activity variable file is as below /apps/dev/project/abc.rej sequence hangs when it goes to attach the file... any can tell what is the possible reason ???