Exporting jobs through DSEXPORT
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54
- Joined: Wed Oct 25, 2006 11:07 pm
- Location: Hyderabad
Exporting jobs through DSEXPORT
Dear All,
I need to take the export of each jobs in my project (At job level one by one) and put them into VSS for maintaining the versions.
I wrote scripts first to get all the job names form entire project into a .dat file and then I am reading from that file, one line at a time to execute DSEXPORT command.
Everything working perfectly fine but after export of each job a message pops up which needs a key press (enter)..
I dont want to sit and do this all day for all the jobs (there are around 1200 jobs)
Is there any way we can avoid this to automate this functionality completely?
Any help in this regard will be highly appreciated.
Thanks & Regards,
Sudeep
I need to take the export of each jobs in my project (At job level one by one) and put them into VSS for maintaining the versions.
I wrote scripts first to get all the job names form entire project into a .dat file and then I am reading from that file, one line at a time to execute DSEXPORT command.
Everything working perfectly fine but after export of each job a message pops up which needs a key press (enter)..
I dont want to sit and do this all day for all the jobs (there are around 1200 jobs)
Is there any way we can avoid this to automate this functionality completely?
Any help in this regard will be highly appreciated.
Thanks & Regards,
Sudeep
-
- Participant
- Posts: 54
- Joined: Wed Oct 25, 2006 11:07 pm
- Location: Hyderabad
-
- Participant
- Posts: 54
- Joined: Wed Oct 25, 2006 11:07 pm
- Location: Hyderabad
Here goes the syntax
for /F "tokens=1" %%i in (C:\EXPORT\DsxList.dat) do (C:\IBM\InformationServer\Clients\Classic\dsexport /H=FINODS /U=xxxxx /P=xxxxx /JOB=%%i FINODS_2_DEV C:\EXPORT\%%i.dsx)
where C:\EXPORT\DsxList.dat is a file which contains the job names I wanna export.
The command iterates through the list and calls DSEXPORT command creating a file named %%i.dsx (that is Job name.dsx)
for /F "tokens=1" %%i in (C:\EXPORT\DsxList.dat) do (C:\IBM\InformationServer\Clients\Classic\dsexport /H=FINODS /U=xxxxx /P=xxxxx /JOB=%%i FINODS_2_DEV C:\EXPORT\%%i.dsx)
where C:\EXPORT\DsxList.dat is a file which contains the job names I wanna export.
The command iterates through the list and calls DSEXPORT command creating a file named %%i.dsx (that is Job name.dsx)
-
- Participant
- Posts: 54
- Joined: Wed Oct 25, 2006 11:07 pm
- Location: Hyderabad
In some web page I saw to pass on a carriage return to the command by storing the "Enter Key" in a file..But even that did not work out
for /F "tokens=1" %%i in (C:\EXPORT\DsxList.dat) do (C:\IBM\InformationServer\Clients\Classic\dsexport /H=FINODS /U=xxxxx /P=xxxxx /JOB=%%i FINODS_2_DEV C:\EXPORT\%%i.dsx < enter.dat)
for /F "tokens=1" %%i in (C:\EXPORT\DsxList.dat) do (C:\IBM\InformationServer\Clients\Classic\dsexport /H=FINODS /U=xxxxx /P=xxxxx /JOB=%%i FINODS_2_DEV C:\EXPORT\%%i.dsx < enter.dat)
-
- Participant
- Posts: 54
- Joined: Wed Oct 25, 2006 11:07 pm
- Location: Hyderabad
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Export Job Without Dialouge Box
Looks like you'll need 8.1 FP 1 with /NODEPENDENTS to run in silent mode. Found http://www-01.ibm.com/support/entdocvie ... wg1JR30121
Re: Export Job Without Dialouge Box
Through the forum, I found that /xml runs in silent mode, no dialogue box.homeboy wrote:Looks like you'll need 8.1 FP 1 with /NODEPENDENTS to run in silent mode. Found http://www-01.ibm.com/support/entdocvie ... wg1JR30121
http://dsxchange.com/viewtopic.php?t=12 ... 80d416aa33
-
- Participant
- Posts: 6
- Joined: Thu Oct 22, 2009 3:57 am
- Location: Bangalore
Re: Exporting jobs through DSEXPORT
Hi,
Can you please share the
script to get the list of jobnames from a particular folder in the project and also the script for taking the export of the specified folder which contains multiple jobs in it.
how to call that script or batch file through command prompt.
Please reply ASAP
Thanks in advance..
Can you please share the
script to get the list of jobnames from a particular folder in the project and also the script for taking the export of the specified folder which contains multiple jobs in it.
how to call that script or batch file through command prompt.
Please reply ASAP
Thanks in advance..
Thanks,
Lakshmi
Lakshmi
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: