Identify sequence/job

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
altruist
Participant
Posts: 73
Joined: Thu May 11, 2006 6:50 am

Identify sequence/job

Post by altruist »

Hi,

I want to find out whether the name passed as an argument is a sequence or a datastage job. Can you please tell me how we can do this through unix.

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

Post by chulett »

That would involve querying DS_JOBS where (from what I recall) the job type is stored. And you would launch the select using dssh. The values for job type should be documented in one of the engine's include files or perhaps some kind soul will post them or link to a post containing them... I didn't have any luck finding one.
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

:idea: If you have a job naming convention, such as sequence jobs names begin with "seq_" then you can check the first 3 or 4 characters.
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

-craig

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