Search found 1724 matches

by priyadarshikunal
Thu Dec 07, 2017 6:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help to build logic in Transformer / Server Routine
Replies: 6
Views: 4915

Code: Select all

left(string, index(field(trim(convert(convert('1234567890','',string),' ',string)),' ',1),string)+len(field(trim(convert(convert('1234567890','',string),' ',string)),' ',1)))
been long to remember the syntax but the code should look like above
by priyadarshikunal
Thu Dec 07, 2017 5:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help to build logic in Transformer / Server Routine
Replies: 6
Views: 4915

1. replace all non numeric characters to space (you can do double convert), 2. do a default trim to remove leading, trailing, repeating spaces. 3. use field function to get the first set of digits with delimiter as space. 4. take its index and add the length of first set of digits and you have the l...
by priyadarshikunal
Thu Dec 07, 2017 5:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update issue on Index columns:Oracle connector stage
Replies: 5
Views: 4534

you should have a surrogate key for updates in such cases where you can replace the nulls with some value you are not expecting in the data such as 0, -9999 or ~, and then do a lookup and send records to update based on surrogate key you got from there.
by priyadarshikunal
Thu Dec 07, 2017 5:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Balanced Optimizer missing / unavailable
Replies: 10
Views: 7341

With such "basic transformation" you could optimize it yourself. Few years back that option wasn't there in datastage at all.
by priyadarshikunal
Wed Dec 06, 2017 1:30 am
Forum: General
Topic: Batch ID in Datastage
Replies: 19
Views: 9669

A batch ID from what I have seen is an integer to track the records being inserted/updated during Job run. Mostly for audit purposes. And that needs to be generated before each job execution, a separate piece of code.

But only OP knows what he really wants.
by priyadarshikunal
Thu Aug 31, 2017 2:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number using Surrogate Key in transformer
Replies: 6
Views: 6171

Seems system selected block size is taken as 1000 hence 1 to 400 and 1001 to 1401 has been generated. You can change the block size to 1 to see it being generated in a compacted manner, However it has performance implications. Surrogate key is just a unique number and should not have such requiremen...
by priyadarshikunal
Mon Aug 21, 2017 4:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Want to fix a particular warning with Funnel stage
Replies: 5
Views: 5441

Do you get the same warnings when executed from director, but still it completes?
by priyadarshikunal
Wed Aug 02, 2017 4:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TNS connection error
Replies: 11
Views: 8246

Talk to your DBA to get the listener started or to get the TNS entry corrected.
by priyadarshikunal
Mon Jul 31, 2017 3:19 am
Forum: General
Topic: Lengthy start up time for 90% of datastage jobs in 11.5.0.2
Replies: 39
Views: 39389

Since you are on LPARs, please run below commands when you experience slowness (please use -a if -A doesn't work). sar -u 5 5 sar -r 5 5 sar -A 1 1 First 2 commands will give you CPU and memory stats 5 times every 5 seconds. In third commands output I am more interested in number of faults. I would ...
by priyadarshikunal
Thu Jul 27, 2017 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join the columns having HASH values
Replies: 3
Views: 3516

It does not generate different checksum for the same value if the data type is identical as well including unicode.
by priyadarshikunal
Thu Jul 27, 2017 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join the columns having HASH values
Replies: 3
Views: 3516

If the checksum value is different then it seems that the values are different or the data type is not identical or any padding is present while calculating the checksum. Also before join, you need to make sure that hash column has same metadata to get correct joins. Since you are not getting the co...
by priyadarshikunal
Thu Jul 27, 2017 1:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to end the Process DSD.OshMonitor MSEVENTS.FALSE
Replies: 3
Views: 4098

you can try setting APT_NO_JOB_MON = 'True' just to check if its the job monitor which is causing the problem.

Above enviornment variable changes will disable the monitoring and the statistics will not be visible in director.
by priyadarshikunal
Thu Jul 27, 2017 1:32 am
Forum: General
Topic: Lengthy start up time for 90% of datastage jobs in 11.5.0.2
Replies: 39
Views: 39389

10 runs isn't bad, and should not be pushing the logs to GBs however You may need to check if these auto purge settings are actually executing. However I would check if the shared memory parameters and ulimit values are at recommended level. IS DS installed on VMs/LPARs or Physical servers? did you ...
by priyadarshikunal
Tue Jul 25, 2017 6:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to end the Process DSD.OshMonitor MSEVENTS.FALSE
Replies: 3
Views: 4098

Did you check if you have any after job subroutine in that job?
by priyadarshikunal
Fri Jun 02, 2017 1:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrading to 11.3 from 8.7
Replies: 4
Views: 16242

Reg 11.1 support, you can always use v10 client to connect to 11.1 server if you must. Things we have been doing since long.