Parameter details for a running job using routine

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
roshan
Participant
Posts: 4
Joined: Mon Jul 10, 2006 5:45 am

Parameter details for a running job using routine

Post by roshan »

HI,

I Want to know how to write a routine to find out parameter details for a running job or finish job.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The routine that you are going to write will contain a couple of key calls that you can look up in the DataStage BASIC Programmer's guide, namely:

DSAttachJob() - to attach to the job you wish to get information about
DSGetParamInfo() - to get the parameter information for that job run
DSDetachJob() - to close up the attached job
roshan
Participant
Posts: 4
Joined: Mon Jul 10, 2006 5:45 am

parameter using routines.

Post by roshan »

Thanks ArndW,

I tried and found successful.
But my problem is, i want to extract info (parameters ) for all the jobs , present in the repository ( RTLOG ) for whom parameters are varies with the job.




[quote="ArndW"]The routine that you are going to write will contain a couple of key calls that you can look up in the [u][i]DataStage BASIC Programmer's guide[/i][/u], namely:

[b]DSAttachJob()[/b] - to attach to the job you wish to get information about
[b]DSGetParamInfo()[/b] - to get the parameter information for that job run
[b]DSDetachJob()[/b] - to close up the attached job[/quote]
Post Reply