How to create batches in Datastage from command prompt

Showing Answers 1 - 6 of 6 Answers

From command prompt batches can be created in following way :
a) create a batch file say RunbatchJobs.bat
b) Open this file in notepad.
c) Now,write the command "dsjob" with proper syntax for each job you want to run.
d) in there are four jobs to be run in a batch,use dsjob command 4 times with different job names on each line.
e) Save the file and close it.
f) Next time whenever you want to run the jobs,just click on the batch file "RunbatchJobs.bat".All jobs will run one by one by the batch file.

Traditionally batch programs are created in the following way :
A Batch Program is used to run a batch of jobs by writing the Server routine code in the job control section.To generate a batch program,do following:
a) Open datasatge director.
b) Go to Tools->Batch->New.
c) A new window will open with the "Job Control" tab selected.
d)Write the routine code and save it.You may run multiple jobs in batch by making use of this.
Note : The similar thing can be achieved more easily  by making use of Datsatage Sequences.
Nikhil Anshuman

  Was this answer useful?  Yes

sai3689

  • Aug 24th, 2015
 

But how to create batch file Runbatchjobs.bat? Can you explain with steps

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions