How to Create a Batch Script to Run 360Eyes Jobs

How to Create a Batch Script to Run 360Eyes Jobs

This article explains how to create a batch script (.bat) to run 360Eyes jobs. The procedure below applies to a single job; repeat the steps if you need to run multiple jobs.

Steps to Create and Configure the Batch Script

  1. Create the Batch File

    • Open a text editor (for example, Notepad).

    • Add the command line that runs a 360Eyes job with the required arguments.

    • For details on building the command line,

    Example command line inside the batch file:

    java -Xmx1024m -cp "../libs/*;C:\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib\*" com.gbs.eyes.Launcher CMS <server>:6400 <username> <password> secEnterprise C:\360eyes\

     Notes:

    • Ensure a supported JDK version is installed and correctly set in the system JAVA_HOME environment variable.

    • Replace <server>, <username>, and <password> with values from your own environment.

    • Do not include unnecessary optional arguments (for example, -forcecluster is not needed in this context).

    • Save the file with a .bat extension (for example: Run_Job.bat).

    • Place the file in the recommended location:

      C:\360eyes\tools


  1. Create the 360Eyes Job in CMC

    • Open the Central Management Console (CMC).

    • Create a new Program Job for 360Eyes.

    • When prompted, click Browse and select the .bat file you created.


  1. Run and Verify the Job

    • Trigger the job from the BOBJ scheduler.

    • Confirm the script executes and generates the expected output.

    • Check the logs to ensure the job completed successfully.


    • Related Articles

    • 360Eyes evolution: from "standalone" to 360Suite web application

      Context On the meta-level, 360Eyes is part of 360Suite, a suite a modules working with BusinessObjects environments to help BI administrators with their day-to-day activities. On a practical level, the 360Eyes module itself has known changes over ...
    • How to set up 360eyes to run with Windows Task Scheduler

      Symptom How to set up 360eyes to run with Windows Task Scheduler ? Environment 360Eyes SAP BusinessObjects Enterprise XI 3.1 SAP BusinessObjects Business Intelligence 4.0 SAP BusinessObjects Business Intelligence 4.1 SAP BusinessObjects Business ...
    • Identify 360eyes jobs on Windows servers

      Symptom How to find active 360Eyes jobs when they are running on a Windows platform? Environment 360Eyes SAP BusinessObjects Enterprise XI 3.1 SAP BusinessObjects Business Intelligence 4.0 SAP BusinessObjects Business Intelligence 4.1 SAP ...
    • Configure 360Eyes to run on SAP Business Objects 4.3SP2

      Symptom You run 360Eyes using the 360Eyes GUI or Command-Line against an SAP Business Objects Environment 4.3SP2. or  java -Xmx1024m -cp "../libs/;*%SDK_LIB_FOLDER%/*" com.gbs.eyes.Launcher <job> <cms> <BO_user> <BO_user_passwd> <auth> <360Eyes_dir> ...
    • Recommendations for Running 360Eyes jobs

      Symptom Jobs can be run on a one-shot basis (i.e. for testing) or a scheduled tasks (i.e. best for production). As jobs are Business Objects objects, they can be easily scheduled using the Business Objects platform. If the -replaceMode=ADD flag is ...