Where Do I find the 'dsexport' command?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 298
- Joined: Tue Aug 26, 2008 12:17 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 54
- Joined: Thu Oct 18, 2007 4:20 am
- Location: Chennai
My scenario, I access Datastage client from Citrix and do not have client installed in my machine.
In that case, you need to find some remote system where you can find Client installed and run your script
If not just try using istool utility ...
As far as dsexport, it is not available in your unix directory and that makes it impossible to take individual dsx using scripts
In that case, you need to find some remote system where you can find Client installed and run your script
If not just try using istool utility ...
As far as dsexport, it is not available in your unix directory and that makes it impossible to take individual dsx using scripts
Use the -ljobs option of the dsjob command, then iterate through the list that generates.
Last edited by chulett on Fri Nov 21, 2014 5:20 pm, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
CD %PROJECT_DIR%
%DSHOME%\bin\dssh "SELECT NAME FMT '40L', JOBNO FMT '5R' FROM DS_JOBS WHERE NAME NOT LIKE '\%';"
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 298
- Joined: Tue Aug 26, 2008 12:17 pm
Guys,
Executing the .bat I am developing, everytime that a job is exported a DataStage window open asking me to click 'Close'. If I have 100 jobs, it will ask me 100 times.
It says: "x read-only objects were ommited"
Is there any way to ommit this window? Otherwise the .bat makes no sense.
Thank you very much.
Best regards,
Joyce
Executing the .bat I am developing, everytime that a job is exported a DataStage window open asking me to click 'Close'. If I have 100 jobs, it will ask me 100 times.
It says: "x read-only objects were ommited"
Is there any way to ommit this window? Otherwise the .bat makes no sense.
Thank you very much.
Best regards,
Joyce
Joyce A. Recacho
São Paulo/SP
Brazil
São Paulo/SP
Brazil
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
My scripts are on www.raywurlod.com now. Do an exact search for Autoit here to find out how to suppress the warning screen.
viewtopic.php?t=147125&highlight=autoit
viewtopic.php?t=132703&highlight=autoit
viewtopic.php?t=147125&highlight=autoit
viewtopic.php?t=132703&highlight=autoit
Mamu Kim
It never worked me like that either.
Code: Select all
const $WinTitle = "DataStage"
Local $pid = Run("DataStageJobDocsDriver.bat")
While ProcessExists($pid)
If WinGetHandle($WinTitle) <> "" Then
WinActivate($WinTitle)
Send("{ESC}")
EndIf
Sleep(10000)
Wend
Mamu Kim