job fails to do oracle select... extraction into sequential

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

Post Reply
dzdiver
Participant
Posts: 36
Joined: Tue May 25, 2004 8:55 am
Location: global

job fails to do oracle select... extraction into sequential

Post by dzdiver »

I have a job which does a simple select... from a table into a sequential file.
On occasion the job fails to do the select and finishes almost immediately.

Looking at the log, it has lines:-
(NB I have replaced the actual jobname with the word jobname in these below)
Environment variable settings:
Finished Job jobname

When the job runs normally, the log says
Environment variable settings:
jobname..monthly_sum_file.IDENT1: DSD.StageRun Active stage starting, tracemode = 0.
jobname..NEW_IC_MEASURES: SELECT CUSTOMER_KEY, etc
jobname..monthly_sum_file.IDENT1: DSD.StageRun Active stage finishing.
13128444 rows read from DSLink13 etc
Finished Job jobname


Any ideas?[/i]
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not really. I've seen times where it would say that it was starting and then nothing. The outermost Status view would not change, still showing the last successful run stats, but inside you'd see the new starting info and then nothing. That was a bug, apparently. This... :?:

Are you managing your Phantom directory in your project? Specifically, the &PH& directory, does it have a large number of files in it? Grasping here, but that can cause some "odd" behaviour at times.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

I've seen this when the OCI stage using a version of Oracle client that is not the same version as the database. In other words, you're using an OCI8 stage to connect with 8i sqlnet pointing at an Oracle 9i installation. Unexpected errors may not be covered and cause weird results. Just doublecheck that you're using the supported versions of all components involved.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
dzdiver
Participant
Posts: 36
Joined: Tue May 25, 2004 8:55 am
Location: global

Post by dzdiver »

I checked the versions and they are ok.
There were anly about 60 files in the &PH& dir.
On the next attempted run, the job ran okay :O
We made no changes between runs except looking at the logs and &PH& dir.
No idea what the problem is.
Post Reply