Data source does not support transactions.

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
bjkilleen
Premium Member
Premium Member
Posts: 18
Joined: Tue Oct 28, 2003 1:27 pm

Data source does not support transactions.

Post by bjkilleen »

Using the InfmxCLI stage as input into a transformation stage of a server job throws the warning "This data source does not support transactions." The job completes but the warning exists.

Any assistance is appreciated.

Brad
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

If you do a search of this forum, you see that there's an excellent discussion of your exact message in the Oliver mailing list archives.

Basically, your problem deals will the transaction log on the source table.
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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You have created an Informix database without logging. Therefore, this database cannot support transactions. If you want to support transactions in an Informix database, you must create the database WITH logging.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
as far as I remember this is a bug (can't remember exactly where)
and no fixes will be made (as of the case we opend with ascential) :cry:
you have to accept this behaviour and move on.
the only thing that made that customer accept this was the simple fact that we were migrating the DB from informix to something else.

maybe you can flex a muscle or 2 and they'll do something about it.

Good Luck
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
bjkilleen
Premium Member
Premium Member
Posts: 18
Joined: Tue Oct 28, 2003 1:27 pm

Post by bjkilleen »

Thank you all for the answers.

Brad :)

roy wrote:Hi,
as far as I remember this is a bug (can't remember exactly where)
and no fixes will be made (as of the case we opend with ascential) :cry:
you have to accept this behaviour and move on.
the only thing that made that customer accept this was the simple fact that we were migrating the DB from informix to something else.

maybe you can flex a muscle or 2 and they'll do something about it.

Good Luck
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

I'm with Roy ......

I first show this msg in DS5 and now it's 7 so it's about time that it will be fixed ... working without transactions it absolutely legal in Informix and should not raise a warnning message.

Hurry up before Informix disappears :)) (just kidding... )

Amos
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DataStage reports all messages generated by database servers.

DataStage is not geared to work to non-transactional databases (except UniVerse and UniData), so it sends a COMMIT. Or more than one.

IDS responds to COMMIT on a non-logging database with the indicated message.

Can you suggest a generic strategy for DataStage engineers about which messages not to report? (Your answer must cover all possible stage types, including the ones not written yet.)

You can, if you hate this message so much, create a custom passive stage that emulates the functionality of the Informix stage, but which explicitly does not log this message - or, better, does not send COMMIT if connected to a non-logging database.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ariear
Participant
Posts: 237
Joined: Thu Dec 26, 2002 2:19 pm

Post by ariear »

Ray,
What about adding a new isolation level for instance ? I encountered a case with an ODBC stage (SELECT Only) using a gateway product connecting ADABAS. That ADABAS was read-only - whichever isolation level I tried the ODBC stage sent a COMMIT before closing the connection (And got a warning of course which messed up my SEQUENCERS !!!)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This won't help. DataStage sends a COMMIT. There is no transaction isolation level that bypasses this. Therefore an Informix database created without logging will still generate the error message when it receives the COMMIT.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

ariear wrote:Ray,
(And got a warning of course which messed up my SEQUENCERS !!!)
It doesn't have to.

"[StageName].$JobStatus = 1 OR [StageName].$JobStatus = 2" on your custom trigger will absorb those warning messages just fine. Now if you hold the philosophy that there MUST be no warning messages...

Oh well.

-T.J.
Developer of DataStage Parallel Engine (Orchestrate).
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
the only thing that might help is if your job is successfull only if no real warnings occur;
this means that you can set the warning limit to the number of DB connections your job has (that generate the warning) and check for failed/Aborted status to know it failed, otherwise treat the job as successfull.

this is good only in cases when you want to proceed when the process/job had no real warnings except for the "doesn't support transaction" warnings

IHTH (I Hope This Helps)
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply