name some of the Routines to be used in PX jobs

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
sreedharmsc
Participant
Posts: 9
Joined: Mon Dec 05, 2005 5:20 am

name some of the Routines to be used in PX jobs

Post by sreedharmsc »

name and give code of some of the Routines to be used in PX jobs commonly in any project . Example : date validation.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

sreedharmsc - Your query is so susupiciously like an interview question that you will most likely not get any responses. If you illustrate what you are looking for in more detail then someone will certainly answer.
sreedharmsc
Participant
Posts: 9
Joined: Mon Dec 05, 2005 5:20 am

name some of the Routines to be used in PX jobs

Post by sreedharmsc »

I am looking routines for the following
1.To collect the Status of the JOB after each Execution
2.To collect the Performance Statistics of the JOB after each Execution
3.To Collect the Audit Stats of the JOB (No of Records in Source, No of Records Inserted, No of Records Updated etc) after Each execution
4.Datastage Job Log Retrieval Component
5. Date Check Component
6.Numeric Check Component
LavanyaRamesh007
Participant
Posts: 42
Joined: Mon Apr 21, 2008 1:49 am

Post by LavanyaRamesh007 »

For performance stats- > APT_DUMP_SCORE
To Collect the Audit Stats of the JOB -> $APT_RECORD_COUNTS
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The routines commonly used for (1), (2), (3), (4) are:
DSAttachJob(), DSDetachJob(), DSGetJobInfo(), DSGetStageInfo(), DSGetLinkInfo().
I don't know what (5) and (6) mean, so cannot answer that.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

IsValid() will do for (5) and (6).

When's the interview?
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