Job names from an Export

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
ashik_punar
Premium Member
Premium Member
Posts: 71
Joined: Mon Nov 13, 2006 12:40 am

Job names from an Export

Post by ashik_punar »

Hi All,

I am having a .dsx file with me. The jobs in the file are all executables. I want to extract the names of all the jobs that are present in this export. Please guide me if we have any method to do this.

Thanks in advance,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Your export is just the executables or source and executables?

Regardless, you should be able to open it as it is just a text file and check for the pattern you would need to search for to pull the job names from it. Off the top of my head, there should be a 'BEGIN DSJOB' record and the immediately following record will have the job name in it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply