want to create parallel routine from server routine

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
somesh2suma
Participant
Posts: 23
Joined: Wed Apr 08, 2009 5:28 am
Location: Bangalore

want to create parallel routine from server routine

Post by somesh2suma »

hi
somebody please help me to write the equivalent parallel routine for the below server routine:

Ans=Arg1
Call DSSetUserStatus(Ans)
Call DSLogInfo("user status set to":Ans,"Set User Status Call")

where Arg1=if IsNull(Column_name) Then "NotScheduled" Else Column_name

i don't know how to Call datastage internal function "DSSetUserStatus" using c or c++ program.

Please help me with the equivalent code for parallel routine.
somesh2dsx
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I'm not entirely sure that there is an equivalent function. You would have to find it in the DataStage API - perhaps in the dsapi.h header file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
somesh2suma
Participant
Posts: 23
Joined: Wed Apr 08, 2009 5:28 am
Location: Bangalore

Post by somesh2suma »

hey thanx for the reply...

can you please tell me where is this available and how to make use of this if its available...

i tried checking the transformer options, but its not available there.
somesh2dsx
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

.../IBM/InformationServer/Server/Include/dsapi.h
where ... is wherever you installed the product.
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