How do I store job status information in table?

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

kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Your requirement is to load into a table. You also need start and end time. I think modifying my job is the easiest. Shell scripts are nice if you are comfortable with them. Calling a routine needs to place within the framework of a job.
Mamu Kim
adityavarma
Premium Member
Premium Member
Posts: 104
Joined: Thu Jul 12, 2007 11:32 pm
Location: Canada

Post by adityavarma »

Duke,

I have taken ur job and have modified it and it is working fine, but issue is we need to implement the same in parallel.

In your job, the sequential file reads the data from the output of dsjob -report and writes to a Xml file and the xml input stage is used to read that data and it is further loaded into a table.

but in parallel i am unable to find out an alternative stage for XML input as the XML input stage is not supported in parallel.

Can you please suggest me on how to proceed further.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

adityavarma wrote:we need to implement the same in parallel
Why ?!!

You are processing ONE ROW. Where's the sense in using parallel execution technology for that?!!

Resist stupid requirements!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
adityavarma
Premium Member
Premium Member
Posts: 104
Joined: Thu Jul 12, 2007 11:32 pm
Location: Canada

Post by adityavarma »

Ray,

I am sorry, my mistake i should have written the reason for using PX jobs.

the production environment is been supported by IBM. they will not be supporting server jobs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You are the customer. Server jobs are - and will remain - part of the product. You are within your rights to demand that IBM support server jobs. Particularly since so few things go wrong with server jobs!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I fail to see how any vendor can refuse to support their own product. Not something I would stand for. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

By the way it is one row per per partition per stage for PX jobs. You need to be careful it needs to aggregate all the partitions for PX or you need the partition id added to the grain.
Mamu Kim
Post Reply