Is it possible to automate the DataStage export of an entire

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
tbtcust
Premium Member
Premium Member
Posts: 230
Joined: Tue Mar 04, 2008 9:07 am

Is it possible to automate the DataStage export of an entire

Post by tbtcust »

Hello all. Is it possible to automate the export of an entire project via a batch job. I would like to run the export of an entire project via a schedule batch process.

Thanks in advance for any help.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes it is. Search DSXchange for dscmdexport command, possibly in combination with "BAT".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

Check in Kim Dukes website, he is having a batch utility to export all the projects in a server.
tbtcust
Premium Member
Premium Member
Posts: 230
Joined: Tue Mar 04, 2008 9:07 am

Post by tbtcust »

Thank you both. This is very good info and should work for me.
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Hi

In IIS VERSION 8.01 dscmdexport is not working.

Any other option is there for exporting datastage project.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

I have no problem to use the dscmdexport (version 8.0.1); it works just fine. What's the error message?
J.Calvo
Participant
Posts: 53
Joined: Fri Oct 09, 2009 4:21 am

I have problems too

Post by J.Calvo »

Our version is 8.0.1
I'm trying to do it now, with dscmdexport command and dsexport command, and with both i have the same problem, when the export has finished i can't found some items in it, READ ONLY ITEMS has not been included.
I don't know what is the solution.
Best Regards,
Jorge Calvo
nirav_2004
Participant
Posts: 7
Joined: Fri Mar 20, 2009 9:09 pm

Re: I have problems too

Post by nirav_2004 »

We have same version running on windows, and we are running auto export job everynight on all our environments. Its running without any issues. Please try to use following command...If you have any problem let me know...

Code: Select all

istool.exe export -dom %Domain% -u %User% -p %Password% -ar %ProjectDir%/%Project%.isx -ds ' -incdep -incexec "%Domain%/%Project%/*/*.*"' >> %ProjLogFileName%
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That istool is only available in 8.1.1 with that 'comprehensive' patch installed.
-craig

"You can never have too many knives" -- Logan Nine Fingers
J.Calvo
Participant
Posts: 53
Joined: Fri Oct 09, 2009 4:21 am

Re: Is it possible to automate the DataStage export of an en

Post by J.Calvo »

Exactly, in our version we haven't this tool.
Best Regards,
Jorge Calvo
platonfi
Premium Member
Premium Member
Posts: 27
Joined: Mon May 26, 2008 1:39 am

Post by platonfi »

I wonder why I can not get the command functioning. I do have a lot of content in my project, but the export does nothing. It does not even create an empty target file, please see output below.

BTW, what is file extension .isx used here? Is the format supposed to be somehow different from regular .dsx?

Code: Select all

C:\dsbackup>C:\IBM\InformationServer_v8.1\Clients\istools\cli\istool.exe export
-dom etlmc-t1:9080 -u myusername -p mypassword -ar 001_VVDW_T.isx -ds '"ETLMC-T1.POSTI.FI/001_VVDW_T/*/*.*"'
Beginning Export
Elapsed time: 00:00:06
Exported 0 assets
C:\dsbackup>
platonfi
Premium Member
Premium Member
Posts: 27
Joined: Mon May 26, 2008 1:39 am

Post by platonfi »

I am answering my own question. There seems to be a bug as reported here: viewtopic.php?t=128327&highlight=istools
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

A known bug with an available patch, yes, as noted in that same thread.
-craig

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