command line execution
Moderators: chulett, rschirm, roy
command line execution
Hi,
I am trying to invoke the job in commandline.but when try connecting to the server which has the server installation asks for the voc file to choose i don't know which is the right one to choose.so which unable me to run the dsjob command.any help in this.
I am trying to invoke the job in commandline.but when try connecting to the server which has the server installation asks for the voc file to choose i don't know which is the right one to choose.so which unable me to run the dsjob command.any help in this.
RK
Connad line
actually i am connecting thro telnetjzparad wrote:Can you show us the actual command line you are using?
and giving my username passwd am connecting it
on connecting it asks for the account or drive so i gave the installed drive.
we have datastage installed i on drive (D:)and projects in other drive(F:)
then next things it asks is the voc
the various options are like
ideal connectivity etc.
any more thinsg you need pls lemme know.
thnkx,
RK
RK
DataStage on Windows installs it's own specialized TELNET server that directs you straight into the DataStage environment. You will either need to use a "normal" telnet server or open up a DOS windows/client using another method.
Once you get the normal DOS prompt you can execute the "dsjob" program with the appropriate options.
If you have no other alternative, you can answer "UV" to the VOC question and then you will get the ">" prompt from the TCL environment of DataStage; you can then enter the command "SH" to bring you to a DOS shell so that you can do the "dsjob" call; then you will need to "exit" from the command window and "QUIT" out of TCL to terminate the telnet session.
Once you get the normal DOS prompt you can execute the "dsjob" program with the appropriate options.
If you have no other alternative, you can answer "UV" to the VOC question and then you will get the ">" prompt from the TCL environment of DataStage; you can then enter the command "SH" to bring you to a DOS shell so that you can do the "dsjob" call; then you will need to "exit" from the command window and "QUIT" out of TCL to terminate the telnet session.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
but the options are numeric i can't able to give uv there.the opitons start likeArndW wrote:DataStage on Windows installs it's own specialized TELNET server that directs you straight into the DataStage environment. You will either need to use a "normal" telnet server or open up a DOS windows/client using another method.
Once you get the normal DOS prompt you can execute the "dsjob" program with the appropriate options.
If you have no other alternative, you can answer "UV" to the VOC question and then you will get the ">" prompt from the TCL environment of DataStage; you can then enter the command "SH" to bring you to a DOS shell so that you can do the "dsjob" call; then you will need to "exit" from the command window and "QUIT" out of TCL to terminate the telnet session.
0,1,2 etc
any more things do i need to do
Thanks,
RK
RK
I don't quite understand. If you telnet to the Windows server, it will prompt you for the name of the account to connect to. If you call up the uvsh or dssh program from a command window while your current working directory is not in a valid account you will get a list of account creation options - but you don't want to do this as it will create a host of files in the directory and it won't be a valid DataStage account.g_rkrish wrote:but the options are numeric i can't able to give uv there.the opitons start like
0,1,2 etc
any more things do i need to do
Thanks,
RK
Please give the name of a valid DataStage project or "UV" when asked for the account.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 21
- Joined: Fri Nov 04, 2005 11:31 am
In option (1) enter "DOS" to get a dos cmd shell, then you can run the "dsjob" command with the options you require.
In option(2) you are attempting to create a DataStage account (not a project) in D:\ and if you choose one of the 5 it will create a number of files that you really don't want! Please don't use this option. If you have used it you can delete the files and directories that were created (VOC,D_VOC,VOCLIB,D_VOCLIB,&SAVEDLISTS& and perhaps some more, I can't recall which ones are put into an empty account)
In option(2) you are attempting to create a DataStage account (not a project) in D:\ and if you choose one of the 5 it will create a number of files that you really don't want! Please don't use this option. If you have used it you can delete the files and directories that were created (VOC,D_VOC,VOCLIB,D_VOCLIB,&SAVEDLISTS& and perhaps some more, I can't recall which ones are put into an empty account)
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
I did what you said but it say dsjob is not a internal or external commandArndW wrote:In option (1) enter "DOS" to get a dos cmd shell, then you can run the "dsjob" command with the options you require.
In option(2) you are attempting to create a DataStage account (not a project) in D:\ and if you choose one of the 5 it will create a number of files that you really don't want! Please don't use this option. If you have used it you can delete the files and directories that were created (VOC,D_VOC,VOCLIB,D_VOCLIB,&SAVEDLISTS& and perhaps some more, I can't recall which ones are put into an empty account)
also when i did ls i got the voc and voclib which i guess is required for dsjob command
thanks,
RK
RK
the "dsjob" command is on your Windows server system - but you haven't added it to your path - just do a search of your server to find the dsjob.exe (you will need to specify a number of command line options to start a job, but they are listed when you call up "dsjob" and are also described in your documentation).
The VOC and other files are part of your DataStage project and should NOT be deleted! Only if you have those files on your D:\ drive as part of an earlier failed attempt from your execution path (2) should they be removed.
The VOC and other files are part of your DataStage project and should NOT be deleted! Only if you have those files on your D:\ drive as part of an earlier failed attempt from your execution path (2) should they be removed.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Do you want me execute the exe file.i didn't get what you meant.can you elaborate on this.i appreciate for all of your help.ArndW wrote:the "dsjob" command is on your Windows server system - but you haven't added it to your path - just do a search of your server to find the dsjob.exe (you will need to specify a number of command line options to start a job, but they are listed when you call up "dsjob" and are also described in your documentation).
The VOC and other files are part of your DataStage project and should NOT be deleted! Only if you have those files on your D:\ drive as part of an earlier failed attempt from your execution path (2) should they be removed.
thanks,
RK
RK
-
- Participant
- Posts: 21
- Joined: Fri Nov 04, 2005 11:31 am
thanks very much it works.manojkumarnayak wrote:go to the folder containing dsjob.exe. Then run it with proper parameter arguments.
Or you can add the path of "dsjob.exe" to your environment path and run from any location.
manoj
but i need one more help my projects are in different directory when i gave the path to access my path to projects it is not. any suggestions on that.
RK
RK
g_rkrish wrote:thanks very much it works.manojkumarnayak wrote:go to the folder containing dsjob.exe. Then run it with proper parameter arguments.
Or you can add the path of "dsjob.exe" to your environment path and run from any location.
manoj
but i need one more help my projects are in different directory when i gave the path to access my path to projects it is not. any suggestions on that.
RK
Thanks for every body in helping.IT works fine
RK
RK