Question:
How to run the job in command prompt in unix?
Answer:
Using dsjob command,
-options
dsjob -run -jobstatus projectname jobname
Source: CoolInterview.com
The dsjob command can be used from the UNIX command line to execute of the following tasks, The logon clause Starting a job Stopping a job Listing projects, jobs, stages, links, and parameters Setting an alias for a job Retrieving information Accessing log files Importing job executables Generating a report
We can start, stop, validate, and reset Datastage jobs using the –run option from the UNIX command line
Syntax :
dsjob –run [ –mode [ NORMAL | RESET | VALIDATE ] ] [ –param name=value ] [ –warn n ] [ –rows n ] [ –wait ] [ –stop ] [ –jobstatus] [–userstatus] [–local] [–opmetadata [TRUE | FALSE]] [-disableprjhandler] [-disablejobhandler] [useid] project job| job_id Source: CoolInterview.com
Answered by: rajesh varshney | Date: 7/13/2016
| Contact rajesh varshney
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|