Search found 112 matches

by harryhome
Mon Dec 08, 2014 5:45 pm
Forum: General
Topic: trigger job only if file exists
Replies: 4
Views: 4051

trigger job only if file exists

Hi Job needs to run only if file is present on server. using execute command stage written command as wc -l filepath/filename and then conditions for output link are custom return output = 0 then no file link otherwise is in file output link. but this logic is not working any suggestion with any oth...
by harryhome
Mon Jun 16, 2014 11:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL error "-246" in DB2 Insert
Replies: 3
Views: 2649

SQL error "-246" in DB2 Insert

while trying to insert 1.8 million records, in Db2 table using DB2API stage, getting below error INCIDNT_INTAKE_INS,0: Warning: CGI_GCIF_DHCC_INCIDNT_INTAKE_INS.INCIDNT_INTAKE_INS: [IBM][CLI Driver][DB2] SQL0969N There is no message text corresponding to SQL error "-246" in the message fil...
by harryhome
Thu Apr 03, 2014 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace consecutive spaces by one space
Replies: 4
Views: 3070

replace consecutive spaces by one space

Hi need to replace consecutive space by one single space.

Code: Select all

Input string:  "THIS      IS     TEST   STRING"

Desired out put: "THIS IS TEST STRING"
is there any way to do this in transformer in 7.5

[Note - Code Tags added to preserve whitespace - Andy]
by harryhome
Mon Sep 30, 2013 10:58 am
Forum: General
Topic: running job new version of job without compiling sequence
Replies: 2
Views: 1593

running job new version of job without compiling sequence

Hi, I have on sequence (run restart) with 14 jobs. This sequence run fine till 12 jobs and failed on job 13th in test env. Now for job 13th we have develop on fix in develpment env. fix was to change transaction size on odbc stage which is inserting data into database from 0 to 2000. Question is whe...
by harryhome
Tue Jan 08, 2013 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim space or blank in between
Replies: 2
Views: 1596

trim space or blank in between

I have couple of char columns in source which are concatenated in source stage. So in next stage I have a transformer where the result data type is changed from char to varchar. Next there is one more transformer, where this varchar result column has inbetween spaces, how to remove these inbetween s...
by harryhome
Tue Dec 11, 2012 7:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: length of where clause in filter stage
Replies: 2
Views: 1730

length of where clause in filter stage

APT_CombinedOperatorController,0: <>: Error message (253898) exceeds the maximum message size (131056); dropping.

Getting above error, is there any way to increase the field length of where clause in filter stage
by harryhome
Fri Jun 22, 2012 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: could not map table file, cannot allocate memory
Replies: 2
Views: 2422

could not map table file, cannot allocate memory

Hi we are getting error as "could not map table file "/opt/DSResource_3/lookuptable(size 3904542088 byte)":cannot allocate memory.

please guide.
by harryhome
Tue Jun 12, 2012 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete data from hash file
Replies: 2
Views: 2365

delete data from hash file

Hi we need delete few rows from hash file on linux.

please let us know the way.
by harryhome
Thu Oct 13, 2011 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warings implicit conversion
Replies: 3
Views: 2919

mobashshar wrote:Have you checked the Unicode in your source/target link?
no , unicode is not checked

job is

db2--> pivot-->rmdup-->xmer--> dataset
by harryhome
Thu Oct 13, 2011 12:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warings implicit conversion
Replies: 3
Views: 2919

warings implicit conversion

Transformer_4: When checking operator: When binding input interface field "CUST1" to field "CUST1": Implicit conversion from source type "string" to result type "string[40]": Possible truncation of variable length string. I have char 40 in source and target. s...
by harryhome
Tue Oct 04, 2011 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup duplicates
Replies: 9
Views: 4273

Yes Ray, Its exactly looks like that. one reference, one copy, two reference links and lookup.

Now in look up when I give

input as
key1 key2
A A
B A
C A
D H
E G
F A


I get different output rows.

I am doing hash partition on stream key column key2 sort
by harryhome
Mon Oct 03, 2011 10:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup duplicates
Replies: 9
Views: 4273

harryhome wrote:using copy stage in reference only . but still getting the same problem , every run with different output count.
To add, I have hash partition, perform unique sort on input and two reference links
by harryhome
Mon Oct 03, 2011 9:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup duplicates
Replies: 9
Views: 4273

using copy stage in reference only . but still getting the same problem , every run with different output count.
by harryhome
Mon Oct 03, 2011 8:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup duplicates
Replies: 9
Views: 4273

example
input
key1 key2
A Q
B B
C B
D A

Lookup
A 1
B 2
C 3
D 4
Q 5

Expected output
1 5
2 2
3 2
4 1
by harryhome
Mon Oct 03, 2011 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove duplicates
Replies: 3
Views: 1870

remove duplicates

I have 5 partitions and trying to get distinct records on a key column using remove duplicate stage. getting different number of record count each time I run job.