Search found 53125 matches

by ray.wurlod
Wed Nov 16, 2011 7:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query returns no rows in TD Connector
Replies: 4
Views: 1108

You have another thread active on the quotes issue. You might also try spelling SELECT correctly in the inner query.
by ray.wurlod
Wed Nov 16, 2011 7:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating Unique IDs Based on Timestamp with Milliseconds
Replies: 12
Views: 6295

Try NAP command instead of SLEEP. The argument for NAP is milliseconds.

Craig will shortly move this post to the server job forum.
by ray.wurlod
Wed Nov 16, 2011 7:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Node configuration
Replies: 11
Views: 3223

Go to the DSXchange home page and link to the webinar on grid enablement that was presented recently. This should provide an extended answer to that question.
by ray.wurlod
Wed Nov 16, 2011 7:41 pm
Forum: General
Topic: DataStage job failed with return code : 269
Replies: 12
Views: 9455

No I didn't. I asked a question designed to find out where this code was generated. That question has not been answered. Ideally please post the wrapper script that AutoSys uses. Please also report whether by "log" you mean the DataStage job log or the AutoSys log.
by ray.wurlod
Wed Nov 16, 2011 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Seconds from timestamp
Replies: 3
Views: 2742

Server: (Oconv(Field(timestamp2," ",1,1),"DYMD") * 86400 + Oconv(Field(timestamp2," ",2,1),"MT")) - (OConv(Field(timestamp1," ",1,1),"DYMD") * 86400 + Oconv(Field(timestamp1," ",2,1),"MT)) Parallel: SecondsSinceFromTimestamp(...
by ray.wurlod
Wed Nov 16, 2011 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key - stat file
Replies: 4
Views: 2771

Or use NextSurrogateKey() function if you actually want a surrogate key value.
by ray.wurlod
Wed Nov 16, 2011 3:08 pm
Forum: General
Topic: Parameters for executable jobs
Replies: 7
Views: 2080

There's no best way.

Use the method that's appropriate for your requirement. This might be hard coded values in Job activity, passing from the sequence parameters, use of Parameter Sets, use of environment variables set for the project and more.
by ray.wurlod
Wed Nov 16, 2011 3:07 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Error when I profile table attribute
Replies: 6
Views: 3050

Why did you post this in the server job forum?
:?

What is your actual question?
by ray.wurlod
Wed Nov 16, 2011 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: '.dsx' table different from job SQL Query Generated
Replies: 0
Views: 1553

That's a hazard of using user-defined SQL - the stage does not enforce that you use the table name in your SELECT statement. Indeed, the table name is probably a hangover from when the stage used generated SQL, and is ignored when user-defined SQL is used.
by ray.wurlod
Wed Nov 16, 2011 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sub String in DS UV Query
Replies: 8
Views: 5096

It would seem that, like James, I have used up my thinking quota for the month. :oops:
by ray.wurlod
Wed Nov 16, 2011 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference between two timestamps
Replies: 9
Views: 3965

Those routines are here - however there's no TimestampDifference routine amongst them. The approach is still correct, even if I did specify a parallel function. :oops: Convert timestamps to seconds and subtract. To convert a timestamp to seconds since 1967-12-31 23:59:59 in a server Transformer stag...
by ray.wurlod
Wed Nov 16, 2011 3:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use Modify Stage
Replies: 3
Views: 1210

That should work as an implicit conversion.
by ray.wurlod
Wed Nov 16, 2011 3:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference between two timestamps
Replies: 9
Views: 3965

Apply SecondsSinceFromTimestamp() to each timestamp using the same base (maybe 1970-01-01 00:00:00) then subtract.
by ray.wurlod
Wed Nov 16, 2011 12:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in using ORCHESTRATE.col in Before Job SQL in ODBC Con
Replies: 1
Views: 2047

The ORCHESTRATE object is not available till the input link of the target stage (the one that writes to the table), so you can't use it in a Before-job subroutine. If you're referring to Before SQL in the ODBC Connector stage, the problem is slightly different. Values of properties of the ORCHESTRAT...
by ray.wurlod
Wed Nov 16, 2011 12:20 am
Forum: General
Topic: DataStage job failed with return code : 269
Replies: 12
Views: 9455

Check the script that Autosys runs to discover whether the exit status from dsjob is the exit status of that script and that the -jobstatus option is included in the dsjob command.