Search found 53125 matches

by ray.wurlod
Wed Sep 11, 2013 1:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Connector stage is not working properly!!
Replies: 3
Views: 2323

The only obvious thing is that, having enabled them, you're not using quoted identifiers.

You have not told us what error message(s), if any, you're getting to support your contention that the ODBC Connector stage is not working properly.
by ray.wurlod
Wed Sep 11, 2013 1:22 am
Forum: General
Topic: Obtain SQL Statements from the jobs
Replies: 5
Views: 3060

If that doesn't work, and you know a fairly unique fragment of one of the SQL statements, try these commands in the Command window:

Code: Select all

SEARCH DS_JOBOBJECTS
  (enter the fragment of SQL)(press Enter)
  (press Enter)
LIST DS_JOBOBJECTS ID.SUP @ID FMT '40L' OLETYPE
Post your results.
by ray.wurlod
Wed Sep 11, 2013 1:19 am
Forum: General
Topic: Obtain SQL Statements from the jobs
Replies: 5
Views: 3060

There may be other OLETYPE values. Try

Code: Select all

WHERE OLETYPE LIKE '%Input' OR OLETYPE LIKE '%Output'
by ray.wurlod
Tue Sep 10, 2013 4:16 pm
Forum: General
Topic: Sequencer status inside another sequencer
Replies: 18
Views: 5595

Re: Sequencer status inside another sequencer

I need to run 5 sequencers No you don't. You need to run five sequences . A Sequencer is something you use within a Sequence to bring flows of logic together - it has the big blue arrow and three "lights" as its icon. Indeed, a Sequencer may hold your solution. In your master sequence, wh...
by ray.wurlod
Tue Sep 10, 2013 4:14 pm
Forum: General
Topic: Obtain SQL Statements from the jobs
Replies: 5
Views: 3060

They will be in the link properties, and therefore in those entries in DS_JOBOBJECTS for which the OLETYPE suggests a link (for example contains the word "Input" or "Output", such as "CCustomInput").
by ray.wurlod
Tue Sep 10, 2013 4:12 pm
Forum: General
Topic: find day of week
Replies: 5
Views: 2466

Or you could use Oconv(@DATE, "DWA") to get the day name, or Oconv(@DATE, "DWB") to get the abbreviated day name. Then the numeric value does not really come into play.
by ray.wurlod
Mon Sep 09, 2013 8:13 pm
Forum: General
Topic: Datastage Enterprice license
Replies: 4
Views: 2416

... which is why I like the original typo - "Enterprice" licence. :lol:
by ray.wurlod
Mon Sep 09, 2013 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_CHECKPOINT_DIR
Replies: 2
Views: 1935

That is, the value of APT_CHECKPOINT_DIR needs to be the pathname of that other directory in which you want running jobs to store checkpoint (restart) information.
by ray.wurlod
Mon Sep 09, 2013 4:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Run-Time is inconsistent, minutes can turn to hours
Replies: 17
Views: 6122

The Hashed File Calculator, which is on the installation media in the unsupported utilities, will help you to calculate the size that the hashed file needs to be.
by ray.wurlod
Sat Sep 07, 2013 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Any stage to read or write OAG message
Replies: 7
Views: 1981

Ordinarily OAG messages travel as XML documents, so the XML stage should be able to handle them if you have the schema available. You could, of course, create your own custom stage type. You might find this developerWorks article on the OAG Integration Specification interesting, even though it does ...
by ray.wurlod
Sat Sep 07, 2013 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Any way to get the count of particular column
Replies: 1
Views: 778

You CAN use Aggregator stage. If you precede it by a Sort stage, the Aggregator stage will be fast.

You could perform the counts in a Transformer stage, but that would involve setting up stage variables for each which you may regard as tedious.
by ray.wurlod
Sat Sep 07, 2013 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to process timestamp with timezone in teradata connector
Replies: 1
Views: 1398

If it's a source use custom (user-defined) SELECT statement to CAST the column(s) as TIMESTAMP. Or use the appropriate SQL function to achieve that conversion.

Similarly, when addressing the target, use the appropriate conversion function in user-defined INSERT or UPDATE statements.
by ray.wurlod
Fri Sep 06, 2013 7:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error converting string to date
Replies: 3
Views: 2367

No. There's not need to convert. The IsValid() test will intercept any invalid values.
by ray.wurlod
Fri Sep 06, 2013 7:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to fetch integer part from decimal data
Replies: 10
Views: 4173

HemaV wrote:when i tried with AsInteger(lnk.col1) then it removed decimal point and decimal part values.
Isn't that what you wanted?
by ray.wurlod
Fri Sep 06, 2013 7:16 pm
Forum: General
Topic: Measure Waiting Time in Job Sequences
Replies: 1
Views: 1191

Just put calls to your timing before and after DSWaitForJob(). $OPTIONS TIME.MILLISECOND * Time before wait StartTime = System(12) * Wait Call DSWaitForJob(handlesList) * Time after wait FinishTime = System(12) Duration = FinishTime - StartTime Call DSLogInfo("Seconds spent waiting = " : D...