Search found 1028 matches

by PhilHibbs
Fri Jul 06, 2012 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Escape Single Quote with Single Quote
Replies: 23
Views: 9717

What version of pxEreplace did you use? DSGuru2B's original, or mine?
by PhilHibbs
Fri Jul 06, 2012 4:06 am
Forum: General
Topic: Error while executing the sequence
Replies: 3
Views: 2406

Re: Error while executing the sequence

Error message : CopyOfjs0301020Fiserv_Extract_SrcStm_to_File..JobControl (@Job_Activity_429): Will execute error activity: ehGenericExceptions Is that message from the master Sequence, or from the called Sequence? The stage that is causing the problem is the Job_Activity_429 stage, so check that jo...
by PhilHibbs
Thu Jul 05, 2012 8:51 am
Forum: General
Topic: Checking for restartable jobs
Replies: 0
Views: 2429

Checking for restartable jobs

I selected "Server" for Job Type on this post, although I exclusively use this technique for Sequence Jobs. The Situation: A datastage interface consists of one or more Sequence Jobs, one or more of which is restartable. Typically this will be an Extract, a Transform, and a Load Sequence. ...
by PhilHibbs
Wed Jul 04, 2012 5:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameterising write mode
Replies: 2
Views: 1674

ray.wurlod wrote:As a general rule properties that can take their value from a drop-down list cannot be parameterised.
I thought that might be the case. I've worked around by having two DB2 target stages and controlling the flow of data to one or the other with a job parameter.
by PhilHibbs
Tue Jul 03, 2012 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameterising write mode
Replies: 2
Views: 1674

Parameterising write mode

In the DB2 Connector stage, can the "Write mode" be parameterised? If I try dropping a jb parameter in, it prompts me for User-defined SQL. Is that just in case the parameter specifies "User defined"? Does anyone know what form the parameter should take, if it is possible? Is it ...
by PhilHibbs
Wed Jun 27, 2012 9:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 -20252 error
Replies: 1
Views: 1647

Re: DB2 -20252 error

Hm. As ever, you spend all day working on a problem, and as soon as you post a question online, the answer occurs to you. We are now setting the Array Size to 100 (as against the default 2000) and it's fine. At least when the next person searches for "db2" and "20252" they will f...
by PhilHibbs
Wed Jun 27, 2012 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 -20252 error
Replies: 1
Views: 1647

DB2 -20252 error

I am loading data into a DB2 table using the DB2 Connector component, with a write mode of "Insert then update". As I understand it, this should capture any -803 errors and do an update instead. What is happening is, I get 15 messags written to the log saying "Native Error Code = -803...
by PhilHibbs
Mon Jun 25, 2012 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inside-out Shared Container
Replies: 1
Views: 1690

Hm... although it worked when the job canvas was only performing one lookup, but when I tried to build the Shared Container with two lookups on the job canvas, I get "Error preprocessing Shared Container stage" when I compile it. I suspect that this is unrelated to the unusual circumstance...
by PhilHibbs
Mon Jun 25, 2012 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inside-out Shared Container
Replies: 1
Views: 1690

Inside-out Shared Container

This may be equally applicable to Server jobs. I have a requirement to make two small parts of a very large parallel job work in one of two different ways - to either perform a sparse lookup to a DB2 table, or to do an in-memory join to a pre-extracted set of data. The reason is, sometimes files wil...
by PhilHibbs
Mon Jun 25, 2012 4:37 am
Forum: General
Topic: perl script
Replies: 2
Views: 1920

Well, if you trust the variable names to serve as documentation, it takes the input to the script and splits it up into a system name, a user name, and a password. The server name and appears to be optional, that's what the ? after the ) in the middle means. =~ m{\A (?: ([^/,]+) /)? ([^/,]+) (?: , (...
by PhilHibbs
Thu Jun 21, 2012 1:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time data type internal representation
Replies: 3
Views: 1679

Sure I can. But I want to know how DataStage does it - what is the resolution, and therefore what is the chance that a value in a time or a timestamp will not round-trip through any given database. For instance, SQL Server stores the time component of a timestamp as a number of 1/300 of a second, so...
by PhilHibbs
Tue Jun 19, 2012 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time data type internal representation
Replies: 3
Views: 1679

Time data type internal representation

Does anyone know what the internal representation of the Time data type is? This says that there are two 5-byte representations. Five bytes? I haven't seen a numeric type with an odd number of bytes since the days of the BBC Micro!
by PhilHibbs
Tue Jun 12, 2012 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 sequence implementation in datastage
Replies: 3
Views: 3820

As per my requirement I dont know the upto which the loop has to be run as this is to be calculated run time by the query (select (days(last_day(CURRENT_DATE)) - days(to_date('20120101','YYYYMMDD'))) from SYSIBM.SYSDUMMY1). Aslo we need to pass the same to the main job also. How I can do this? Writ...
by PhilHibbs
Fri Jun 08, 2012 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Set record count (not orchadmin)
Replies: 5
Views: 3119

Re: Data Set record count (not orchadmin)

zulfi123786 wrote:...as documented in the Ochestrate guide
There's an Orchestrate guide? I found some info in the Advanced Parallel Job Developer's Guide, and once I knew the answer I did find dsrecords documented in there, do you mean that?
by PhilHibbs
Fri Jun 08, 2012 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Set record count (not orchadmin)
Replies: 5
Views: 3119

Re: Data Set record count (not orchadmin)

Just as I hit "Submit", a solution occurred to me - have a look in the PXEngine/bin directory and see if anything rings a bell! The answer is: dsrecords.