finding whole jobs in the project with complte details..

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
GSSaru
Participant
Posts: 7
Joined: Wed Aug 31, 2005 12:04 am
Contact:

finding whole jobs in the project with complte details..

Post by GSSaru »

Hi all..

in our source file it has projects paths,so is there is any chance to get all the job details in taregt from a project,by using transforme stage..
can u please advice this one .

thanks and regards
saru
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

What do you mean by job details.
Look into the DS functions. Like to get a list of jobs present in a project, you will use DSGetProjectInfo(DSJ.JOBLIST). But this will only give you the job name of that particular project.
Look at the function DSGetJobInfo().
But i highly doubt you can do that for different projects from within a single project.
OR
you could just do it at the OS level. Create a small batch job that reads an input file that has all the project names.
Read in that and pass it to the command

Code: Select all

dsjob -ljobs <ProjectName>
This will get you all the job names. If you want more info, then redirect the output of the command listed above into a file and then pass it one by one to the following command

Code: Select all

dsjob -jobinfo <ProjectName> <JobName>
So a couple of different options. Suit yourself. :)
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: finding whole jobs in the project with complte details..

Post by ray.wurlod »

GSSaru wrote:, by using transforme stage..
No.
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