Search found 53125 matches

by ray.wurlod
Thu Oct 27, 2011 6:29 pm
Forum: General
Topic: Unlocking a job via another job
Replies: 36
Views: 9218

You process the dynamic array using similar logic that you would use in the standard LIST.READU report - but searching the dynamic array is probably easier, for example using the FINDSTR() function in DataStage BASIC, which will give you the field (= row of the report) in which the string sought was...
by ray.wurlod
Thu Oct 27, 2011 3:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Non integer value returned for field. Unable to set to Null
Replies: 9
Views: 2786

I don't believe running in one node will have any effect in this case. But by all means try it. Just run using a single node configuration file - you don't need to set up node pools, particularly in an SMP environment. Or compile in trace mode and force sequential execution by that means.
by ray.wurlod
Thu Oct 27, 2011 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SELECT rows from table
Replies: 2
Views: 985

Eliminating any GROUP BY or ORDER BY clause in your SELECT statement should allow Oracle to stream data into your job as they are retrieved. Unless, of course, Oracle has to materialize a view or perform some other operation that takes too long before being able to deliver rows.
by ray.wurlod
Thu Oct 27, 2011 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfomer dropping row
Replies: 4
Views: 1429

Is the "Lookup failed" rule in your Lookup stage "Drop"?
by ray.wurlod
Thu Oct 27, 2011 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: selectng rows
Replies: 3
Views: 1009

@INROWNUM = 20 gives you row number 20 (one row) on each node.

@INROWNUM <= 20 gives you the first 20 rows on each node.

@INROWNUM <= (20 / @NUMPARTITIONS) will get you close to what you need.
by ray.wurlod
Thu Oct 27, 2011 12:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Non integer value returned for field. Unable to set to Null
Replies: 9
Views: 2786

I am not aware of any. But there are unknown unknowns ...

Create a reproducible case and submit it to your official support provider.
by ray.wurlod
Thu Oct 27, 2011 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Date Convert
Replies: 5
Views: 1819

Re: Mainframe Date Convert

rajadommeti wrote:select to_char(CAST(TO_DATE (yourdate, 'yyyyddd') as timestamp),'yyyy-mm-dd') from yourtable;
Why do you think the source is a database (and what kind of database do you believe it to be)? Source data are coming from a mainframe, and its structure is defined in a COBOL file definition.
by ray.wurlod
Thu Oct 27, 2011 12:38 pm
Forum: General
Topic: Mapping Oracle Table Definitions
Replies: 10
Views: 6987

It is necessary to include the header file JOBCONTROL.H because it is in that header file that the function definition exists.

This $INCLUDE compiler directive must precede any executable statement in the code.
by ray.wurlod
Thu Oct 27, 2011 12:37 pm
Forum: General
Topic: Changing DB repository for Infosphere
Replies: 1
Views: 909

There are instructions for doing that in the manuals and in the Information Center. It may have been addressed on DSXchange in the past too.
by ray.wurlod
Thu Oct 27, 2011 12:36 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: How to join two tables in IA
Replies: 4
Views: 2994

If the two tables are in the same database you can create a view in that database consisting of the required join and perform column analysis on the view.
by ray.wurlod
Thu Oct 27, 2011 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert 2 digit year to 4 digits
Replies: 6
Views: 4510

max.madsen wrote:The problem will do a logic for choose when input "91" shall transform in "1991" or "2091" ou "2191"... How you will choose?
That decision would possibly be based on the CENTURYPIVOT setting.
by ray.wurlod
Thu Oct 27, 2011 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Date Convert
Replies: 5
Views: 1819

You should be able to use "%yyyy%ddd" as the date format string.
by ray.wurlod
Wed Oct 26, 2011 11:28 pm
Forum: General
Topic: Audit for user who scheduled/Executed a DS JOb
Replies: 1
Views: 1061

Not unless the job was designed to capture that information in the first place.
by ray.wurlod
Wed Oct 26, 2011 7:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How are empty fields better handled
Replies: 2
Views: 1178

Neither is preferred, though I suspect the VarChar one may be slightly more efficient.