Fault Type 11

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Fault Type 11

Post by cfuller »

Hi all

I'm in the process of upgrading from v7.1.r1 to v8.0.1a, and am having trouble with a couple of jobs. The jobs are very simple but I keep getting the same issue -

DataStage Job 586 Phantom 12518
Abnormal termination of DataStage.
Fault type is 11. Layer type is BASIC run machine.
Fault occurred in BASIC program DSP.Open at address 574.


Job design -

DRS Stage (connecting to Oracle) --> Transform --> HashFile

I have a number of jobs doing similar things, which all seem to work OK, just a couple seem to fail with the same error. I have been talking to IBM but still no joy.

I have also tried a couple of other things -

1) Rebuilt job from scratch, rather than use imported job from 7.1 export
2) Swapped hash file for Flat file - same result
3) Swapped DRS stage for OCI stage - same result

These jobs were originally part of a sequencer that was running about 5 or 6 job concurrently, but I can recreate the error by running the job independently.

If anyone has ideas of what to try next, please let me know.
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This would seem to point to the error occuring in the TRANSform stage. Both your changes and link to DSP.Open reflect that.
Address 574 in the program (assuming you have the same release 8.0.1 that I do) is a call to "$DSP.Open" routine that has been cataloged in memory.

Assuming you had no installation issues, do the transform stages have anything in common that differentiates them from jobs that work? Perhaps call up user-written routines?
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Hi Arnd

No custom routines, just a very basic job to read data from a number of Oracle tables, using generated SQL, and writing to the hash file. Three columns read, 3 columns written to file with the same Metadata on both sides. The only difference I can see is that the column names are altered on the output side.

:(
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok, let me ask this. What version of the Oracle client do you have installed on your DataStage server? When I've had Oracle related issues like this, my Fault Type was 10, not 11, but perhaps it is still an issue here.

I see your database version is 10gR2, I'm specifically wondering about the client you are using to access it. I'm assuming the DRS stage is set to Oracle and not something like ODBC instead, yes?
-craig

"You can never have too many knives" -- Logan Nine Fingers
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Hi Craig

Client is 10gr2 for AIX, installed on DataStage server.

When using the DRS stage the connection type was Oracle, not ODBC. I got the same issue with OCI stage.

Still working with IBM also, so if I get a satisfactory response from them I will advise.
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do you know the specific client version? For example, 9iR2 could be:

9.2.0.1
9.2.0.5
9.2.0.8

Etc. Support should have asked the same question, I would think. Anywho, let us know if you have any luck.
-craig

"You can never have too many knives" -- Logan Nine Fingers
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Oracle version - 10.2.0.1.0
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Oracle version - 10.2.0.1.0
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

IBM have managed to recreate this issue in their environment :shock: , so hopefully I have found a bug that a patch can correct. I will let you all know what happens.

:)
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

IBM advise that they think the issue is one that was created in v7.5.2, and relates to when a FROM clause is > 76 characters. It seems the error has reappeared in v8.0. They are working on the patch, and will release it ASAP.

As a work around I will start changing my job designs to do the joins within Transform stages, rather than using complex queries with the DRS / OCI stage, or look at reducing the FROM some other way.

:roll:
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

IBM have given me a workaround for this...within DRS stage use ODBC as connector rather than Oracle. As this is parameterised in most of my jobs this is a simple workaround that I can live with till the patch becomes available.

:)
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Just received the patch to fix the DRS stage, Apar number JR29532. Applied patch and retested my code successfully, so if anyone else is using DRS stage with from clauses greater than 75 characters, then talk to IBM and get this patch. They have also produced a similar one for the OCI stage.

:D
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Just received the patch to fix the DRS stage, Apar number JR29532. Applied patch and retested my code successfully, so if anyone else is using DRS stage with from clauses greater than 75 characters, then talk to IBM and get this patch. They have also produced a similar one for the OCI stage.

:D
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So this patch is specific to 8.x yes?
-craig

"You can never have too many knives" -- Logan Nine Fingers
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

Hi Craig

Yes...8.0.1a

Readme.txt file is as follows -
PATCH REPORT FOR APAR:JR29532
PRODUCT: Information Server
VERSION: 8.0.1.1
PATCH NAME:patch_JR29532

COMPONENT: Server

PROBLEM REPORTED/Implementation Details:
OracleOCI Stage and DRS Stage with DBMS Type = Oracle will SEGV
when SQL FROM clause character length is greater than 77.

CAUSE OF PROBLEM:


FIX SUMMARY:


USER INTERFACE FIX:
None

PRE-REQUISITE PATCHES REQUIRED:


COMPETING PATCHES:
None

OBSOLETED PATCHES:
None

EXPECTED RESULTS OF PATCH:


SYSTEM REQUIREMENTS (OS LEVEL, COMPILER VERSION):
This patch is supported on:
Platform(s) : AIX
IS Release(s) : 8.0.1.1

PATCHED FILES:
The following files contain the fixes for this ecase:

<IS-Install-Path>/Server/DSComponents/bin/drs.so
<IS-Install-Path>/Server/DSComponents/bin/drsenu.so
<IS-Install-Path>/Server/DSComponents/bin/drsoci.so


where <IS-Install-Path> is the install directory

TARGET DIRECTORY:
The following directories are where the patched files will be copied:

<IS-Install-Path>/Server/DSComponents/bin/

where <IS-Install-Path> is the install directory



(version 2.6a)
:)
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
Post Reply