Hi
Can anyone send me shell script to run datastage by passing parameter values. I am running datastage jobs by calling shell script with the help of D2k.
Accessing Datastage parameter from external (.par) file
Moderators: chulett, rschirm, roy
Accessing Datastage parameter from external (.par) file
Rahul verma
Software Engineer
Mumbai (India)
Software Engineer
Mumbai (India)
You're answering the question in the body of the post, Kumar, but missing the subject which seems to be taking this question to another level.
What exactly do you need help with, vermarah? I'll wager you're currently passing parameters in your shell script (in spite of the fact I've no clue what 'D2k' is) but would like to know how to read those parameters from a file and assign them dynamically... yes?
If that's the case, can you share with us the layout of your 'external (.par) file? Are you looking to do all this in one shell script or would you consider using 'job control', like a Sequence job with the External Variables stage?
What exactly do you need help with, vermarah? I'll wager you're currently passing parameters in your shell script (in spite of the fact I've no clue what 'D2k' is) but would like to know how to read those parameters from a file and assign them dynamically... yes?
If that's the case, can you share with us the layout of your 'external (.par) file? Are you looking to do all this in one shell script or would you consider using 'job control', like a Sequence job with the External Variables stage?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Ack... version 6.x... never mind the last suggestion with the External Variables stage as that doesn't exist in your version. You'd need to either roll your own BASIC job control or perhaps do something with some custom routines for a non-scripted solution.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers