How to Call DSSetUserStatus (value) in Oracle stage.

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
120267
Participant
Posts: 30
Joined: Tue Jun 07, 2005 12:27 am

How to Call DSSetUserStatus (value) in Oracle stage.

Post by 120267 »

Hi,
Iam using simple one to one mapping,After the data get loads in to the target oracle stage.I want to call DSSetUserStatus (value) .Is there any possible to do this.

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

Post by kcbland »

Have you looked at using the after-job routine? How do you propose to decide what status to set? You can't "see" the Oracle stage, so there's no way to return any information from that stage.

What need are you trying to meet?
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 »

Stages that connect to persistent storage are properly passive stages; that is, they do not perform any execution. Therefore there is no scope in them to invoke routines.

Please advise what you are trying to achieve. It's likely, as Ken suggested, that you can achieve what you want to achieve in an after-stage subroutine (from the Transformer stage that drives the load) or an after-job subroutine.

The question is, what is the value that you want to load into the job's user status area?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply