Search found 53125 matches

by ray.wurlod
Thu Mar 24, 2011 1:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch seven days old data
Replies: 5
Views: 2134

If BizDate is an actual date it is NOT coming in that format - it's a binary value. Create a new parameter, say jpBizDateLastWeek and do the arithmetic when providing that parameter value.
by ray.wurlod
Thu Mar 24, 2011 12:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling DSSetParam(ST_DATE), code=-4 [ParamVal]
Replies: 8
Views: 7103

You can not supply NULL as the value of a date/time/timestamp parameter.
You need to think of an in-band null equivalent (e.g. 9999-12-31).
by ray.wurlod
Thu Mar 24, 2011 12:56 am
Forum: General
Topic: To run a job from Command line
Replies: 11
Views: 4090

Code: Select all

dsjob [ login_clause ] -run -param NameTest=Test -jobstatus Training Nametest
by ray.wurlod
Thu Mar 24, 2011 12:54 am
Forum: General
Topic: Passing Date Param from Job to ODBC User-Defined SQL Delete
Replies: 5
Views: 2195

Single quotes, surely?
by ray.wurlod
Thu Mar 24, 2011 12:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can't read all records of .csv file
Replies: 4
Views: 10322

Any comma in the data in row #16? Are the last fields in row #16 empty?
by ray.wurlod
Wed Mar 23, 2011 2:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Break in the sequence numbers
Replies: 6
Views: 6491

Does your Transformer stage include any constraint expressions? Use Monitor to verify that all nodes processed the same number of rows.
by ray.wurlod
Wed Mar 23, 2011 1:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date Calculate
Replies: 8
Views: 3454

Depends mainly on where the database is.

Within the transformer stage it's a simple If..Then..Else test with a binary condition (date >= fouryearsago And date <= currentdate)
by ray.wurlod
Wed Mar 23, 2011 1:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load Balancing in odbc.ini and does the oracle enterprise
Replies: 10
Views: 7020

The .odbc.ini file is read first, to determine which ODBC driver to load into memory. It is the ODBC driver for Oracle that needs to consult tnsnames.ora.
by ray.wurlod
Wed Mar 23, 2011 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Last Successfull Job run Date and time
Replies: 2
Views: 1825

If the most recent run has not been successful, but a successful run continues to exist in the job log, then you might use DSGetNewestLogId() to find it. If the log has been purged the information has gone forever.
by ray.wurlod
Wed Mar 23, 2011 1:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To read Foxpro .DBF files
Replies: 12
Views: 7240

I think the requirement is to read from the DBF files directly, rather than through FoxPro. There are Google articles about how to program this using languages like C# or VB that you may be able to adapt into, say, a DataStage routine.
by ray.wurlod
Wed Mar 23, 2011 1:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date Calculate
Replies: 8
Views: 3454

Use a database stage (eg ODBC stage) to service the reference link, and use user-defined SQL that specifies the BETWEEN condition. You can generate the two dates using SQL functions.
by ray.wurlod
Wed Mar 23, 2011 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rows to Columns
Replies: 6
Views: 3150

My bad. 4am start today, it's now 8:30pm. Yes, it's a vertical pivot. Search DSXchange to find out how to do it. It's been explained many times.
by ray.wurlod
Wed Mar 23, 2011 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Schedule jobs in Datastage instead of Control-M
Replies: 7
Views: 6808

In DataStage Director client choose Schedule View. On the toolbar there are Add To Schedule and Reschedule tools. You can right-click any job and remove it from the schedule.
by ray.wurlod
Wed Mar 23, 2011 3:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Db2 Connector Stage - Partitioned reads
Replies: 1
Views: 1666

Why can't you get the PDF? It's part of the standard documentation set. Start > All Programs > IBM Information Server > Documentation will take you to the bookshelf.