Page 1 of 1
How to list the component using istool?
Posted: Thu Apr 28, 2016 1:14 pm
by dsdoubt
I wanted to export all Jobs / Table definitions / Routines / Shared containers individually to its corresponding folder in Unix. So that I can do the version control.
If get the list, I can export using istool export command.
dsjob -ljobs gives me just the list of jobs and not the other component.
How do I get the list of other types of component?
And how do I get the component type extensions for each type of component (.pjb, .qjb etc)?
If not clear... I can explain more.
Posted: Thu Apr 28, 2016 4:40 pm
by JRodriguez
Use istool export with -pre -incdep...
Posted: Fri Apr 29, 2016 10:15 am
by PaulVL
JR, I think the request was for each item to be extracted into it's individual ISX file, not one ISX file that contained all of the dependent items.
Posted: Fri Apr 29, 2016 10:33 am
by chulett
I think we need to call in their Explain More marker.
Posted: Fri Apr 29, 2016 3:07 pm
by asorrell
If I understand the question - this is how I normally do it:
Craft a shell script to dump the list of projects and job names as required into files. Use those files to feed a loop that processes each job one at a time.
Posted: Fri Apr 29, 2016 3:20 pm
by PaulVL
How would you dump a table definition by itself into an ISX file?
Auto find the name, and dump to a unique ISX for itself.
Posted: Wed May 04, 2016 5:31 pm
by dsdoubt
Thanks all for your replies.
May be I should ask this.
I want to list all the components from a project.
*.pjb, *.qjb, *.prt etc
How do I do it using istool.
So that I can export each and every component individually.
Posted: Thu May 05, 2016 4:53 pm
by dsdoubt
As JR mentioned, export -preview with datastage component as '"proj/*/*.*"' helped!!