Search found 42189 matches

by chulett
Wed May 29, 2013 2:17 pm
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

Looks like I may have been attempting to over-complicate it... I misread it to include a number of business days since x, hence my question regarding a date dimension. As long as "the business date" equates to the current system date then you should be able to do this fairly easily.
by chulett
Wed May 29, 2013 11:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate running totals (cumulative) based on a col?
Replies: 25
Views: 9356

I want to sort the data by multiple columns (after one by one) can I use sort stage or can I use the order by clause in the sql query itself? Yes. :wink: Either one can be used but for the latter you may still need to add a Sort stage set to "don't sort already sorted" or whatever it says...
by chulett
Wed May 29, 2013 7:23 am
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

So basically you are looking for SQL to derive the two "last day of the month" values? Do you have access to a date dimension, anything that tracks "business days" in your organization?
by chulett
Wed May 29, 2013 7:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To get the output for counting the occurence of the rows
Replies: 3
Views: 2406

Suggest you do more than simply post input and output samples. How about spelling out your requirement in words? Telling us what you've tried and what issues you faced? :?

I see a simple dual count exercise that stage variables can solve.
by chulett
Wed May 29, 2013 7:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-12541: TNS: no listener
Replies: 4
Views: 7221

:?: Are you sure you replied to the correct post? Wondering if it should be here: viewtopic.php?t=149931
by chulett
Wed May 29, 2013 7:04 am
Forum: General
Topic: Windowing Function Range Between Dates
Replies: 10
Views: 2725

What database?
by chulett
Wed May 29, 2013 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 5
Views: 2787

dudam emailed and said wrote:the Source and Trgt as datatype is Date
:!: First off, reply here not via private email. Those I normally ignore.

So bottom line there is no conversion needed. As noted, a date is a date and has no format.
by chulett
Tue May 28, 2013 9:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequential read removing carriage retrun within a field
Replies: 1
Views: 1479

Discussed in this technote. Note you can also use the Server Sequential File stage in a Server Shared Container in your Parallel job.
by chulett
Tue May 28, 2013 6:57 am
Forum: General
Topic: List of jobs where a parameter is used
Replies: 5
Views: 3488

Chuck Smith has already built that for you with his "DataStage tools" offerings. Check out the 'Search' or 'List' code... if it doesn't already do what you need, modify it so it does. :wink:
by chulett
Tue May 28, 2013 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 4883

Several ways to approach this. Read the file's record as one long string and check the first two bytes for either "00" or "01" to determine header v. detail... or if there's only one header record per file you could use record #1 v. all other records. Store the substring'd header...
by chulett
Tue May 28, 2013 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header Record Validation in a fixed width file
Replies: 11
Views: 4883

prasson_ibm wrote:I saw they are running datastage on unix platform,thats why i suggested.
:idea: Why don't we start by suggesting DataStage solutions and only fall back to the O/S heavy stuff if there's no other choice or the "in job" solution is... unwieldy.
by chulett
Tue May 28, 2013 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 "Delete" failing with Transaction log full msg
Replies: 8
Views: 4692

Ray - They're deleting based on date, about half of the records each time according to the stats posted earlier. As noted, continue to work with your DBA on what the commit interval should be and possible see about adding more transaction log space. Also as noted, that Array Size is the number of re...
by chulett
Tue May 28, 2013 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mapping higher to lower length transformer
Replies: 7
Views: 2009

It says "APT_IMPORT..." which could imply it only works in the Sequential File stage rather than a Transformer. And I see your TechNote notes the same thing.
by chulett
Mon May 27, 2013 11:39 pm
Forum: General
Topic: Can i customize the status of a job
Replies: 7
Views: 1810

SPuneet wrote:Can you elaborate more how do i make use of USERSTATUS. I ahven't used it
You could always search here... topics on it go back 13 years. Plenty of elaboration out there. :wink:
by chulett
Mon May 27, 2013 7:50 pm
Forum: General
Topic: Unable to see jobs in Designer repository
Replies: 1
Views: 1516

If other people can still see everything and only you on your PC cannot, then that would imply your repository is intact but that your client installation is suspect. In your shoes, I'd first try a reinstall. You can probably try simply reinstalling over the current client (is there a 'repair' optio...