command line
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 38
- Joined: Wed Sep 19, 2007 10:11 am
- Location: Canada
command line
I have been running the jobs from client.
Now i have to call them from command line using dsjob.
what is the exact syntax? dont laugh. where do you specify the project, where do you specify the category?
for example the project is called DWSCM and under that are three categories for three departments. ETT, TLD and EDG
under ETT category we have some jobs for example jLOAD_ITEM
how can I call that job using dsjob?
Now i have to call them from command line using dsjob.
what is the exact syntax? dont laugh. where do you specify the project, where do you specify the category?
for example the project is called DWSCM and under that are three categories for three departments. ETT, TLD and EDG
under ETT category we have some jobs for example jLOAD_ITEM
how can I call that job using dsjob?
No one is laughing, but we are wondering if you've read the documentation? Searched the forums? There are tons of examples of dsjob syntax here and a plethora of conversations on the subject.
Running 'dsjob' without any parameters will give you the expected 'usage error' and dump the proper syntax to the screen, at least the first level of it. You can drill down from there. The full discussion is in the Server Job Developer's Guide pdf in the DataStage Development Kit (Job Control Interfaces) chapter. Specifically, down near the end of that chapter in the Command Line Interface section. Everything you need to know is there. Give it a good read and then come back with more specific questions if you have any.
Running 'dsjob' without any parameters will give you the expected 'usage error' and dump the proper syntax to the screen, at least the first level of it. You can drill down from there. The full discussion is in the Server Job Developer's Guide pdf in the DataStage Development Kit (Job Control Interfaces) chapter. Specifically, down near the end of that chapter in the Command Line Interface section. Everything you need to know is there. Give it a good read and then come back with more specific questions if you have any.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 38
- Joined: Wed Sep 19, 2007 10:11 am
- Location: Canada
-
- Participant
- Posts: 38
- Joined: Wed Sep 19, 2007 10:11 am
- Location: Canada
-
- Participant
- Posts: 38
- Joined: Wed Sep 19, 2007 10:11 am
- Location: Canada
-
- 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:
Why? Job names are unique in the project, so the category name would be entirely superfluous.
Source code for dsjob is provided (in the manual) so you can "roll your own" that accepts category name. Though I fail to see how it would provide any benefit. Heck, you could totally rewrite dsjob so that all its behaviours were "like Informatica"!
Source code for dsjob is provided (in the manual) so you can "roll your own" that accepts category name. Though I fail to see how it would provide any benefit. Heck, you could totally rewrite dsjob so that all its behaviours were "like Informatica"!
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.