istool usage for exporting adhoc jobs

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
vam
Charter Member
Charter Member
Posts: 18
Joined: Thu Jun 17, 2010 2:06 pm

istool usage for exporting adhoc jobs

Post by vam »

Hi,
I am trying to write a script which will export the ds objects along with there dependencies in isx forrmat.The script reads from a text file and get the job names and exports it..But I am running into an issue here..
here is the script synatx i am using..
%ISTOOL_PATH%\istool export -domain XXXX:9080 -u XXXX -p XXXX -ar test51.isx -updatearchive -ds '-base="XXXX/XXXX" "Jobs/%%i.*" -incdep -incexec '
How do I mention the path here (For "Jobs/%%i.*" in the script)if the jobs are located in different folders and subfolders?

Note: I am able to run this script sucessfully if I specify any job/jobs under Jobs/* but is failing if it is under job/*/* etc..How can I make the folder directory as a wild character for any folder structure?

Any suggestions..!
Vam
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I don't have any way to test this, but going on the way things used to work and assuming they still work the same - all you should need to specify is the job's name since that must be unique per project. I can't imagine you're also required to mention where it lives.
-craig

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