How to query in XMETA Parallel jobs default values

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
kurics40
Premium Member
Premium Member
Posts: 61
Joined: Wed Nov 18, 2009 10:01 am

How to query in XMETA Parallel jobs default values

Post by kurics40 »

Hi All,

I am looking for a query which can extract the parallel jobs' parameters default value from XMETA.

Basically I need to extract all parallel jobs parameter names and default values.

I know it is possible to run queries via Administrator command line or via UVSH. I could do it also. I heard that someone could mount the repository with a control center (db2 case) or any other SQL client and run some queries there.

My another idea was to search in the projects exported dsx file with sed or any other way.


Please advice,
Janos
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Code: Select all

dsjob -lparams PROJECT JOB 2>/dev/null | while read param
do
        dsjob -paraminfo PROJECT JOB $param | awk -F":" ' /Default Value/ { print "'$param'" ":" $2 } '
done 2>/dev/null
You are the creator of your destiny - Swami Vivekananda
Post Reply