Thursday, October 23, 2014

Execute the Batch File in Workspace

Follow the steps given below, and you can run bat files in Workspace.

Step 1: Create a Job Application

Create a generic job application as shown below. (Navigate -> Administer -> Reporting and Analysis -> Generic Job Applications)

·         Provide a Product Name (this is the name that shows up as Job Factory Application) when importing a job.
·         Select Product Host. (This is the Workspace server).
·         In Command Template type $PROGRAM $PARAMS, you can also click the buttons to insert Command Template. (This is where it is different from the MaxL job application).
·         Provide the Executable as %WINDIR%\System32\cmd.exe

Step 2: Import a bat file

Import a bat file into Workspace as a job. (Import file as job)


Check "Import as Generic Job" check box.


Select the newly created Job Application and click Finish.


Step 3: Run the job

You can now execute the bat file by double clicking on it or right click -> Run as Job



Provide a path for output and click "Run"

I've MaxL files kept on Workspace server, which was executed by the bat job.


Greetings
SST!

No comments:

Post a Comment

Oracle Planning and Budgeting Cloud (PBCS) - August 2018 Updates

The following announcements and considerations are outlined in the upcoming  Oracle Planning and Budgeting Cloud (PBCS)  update: Oracl...