What are program objects and instances?

A program object is an object in Crystal Enterprise that represents an application. Publishing a program object to Crystal Enterprise allows you to use Crystal Enterprise to schedule and run the program object and to manage user rights in relation to the program object. For information about publishing program objects, see Publishing overview.

When you publish a program object or its associated files to Crystal Enterprise, they are stored in the File Repository Server (FRS). Each time a Crystal Enterprise program runs, the program and files are passed to the Program Job Server, and Crystal Enterprise creates a program instance. Unlike report instances, which you can view in their completed format, program instances exist as records in the object history. Crystal Enterprise stores the program's standard out and standard error in a text output file. This file appears when you click a program instance in the object History.

Three types of applications can be published to Crystal Enterprise as program objects:

Note:    As the administrator, you can choose to enable or disable any of the types of program objects. For details, see Authentication and program objects.

Once you have published a program object to Crystal Enterprise, you can configure it in the Objects management area of the CMC. For each type of program object (Executable, Java, or Script) you can choose to specify command-line arguments and a working directory. For executable and Java programs, there are additional ways, both required and optional, to configure the program objects and provide them with access to other files.

Tip:    Program objects allow you to write, publish, and schedule scripts or Java programs that run against Crystal Enterprise, and perform maintenance tasks, such as deleting instances from the history. Furthermore, you can design these scripts and Java programs to access Crystal Enterprise session information. This ensures that the scheduled program objects retain the security rights or restrictions of the user who scheduled the job. (Your scripts or java programs require access to the Crystal Enterprise SDK. For details, see the Crystal Enterprise COM SDK Guide or the Crystal Enterprise Java SDK Guide.)

Click the appropriate link to jump to that section:



Crystal Decisions
http://www.crystaldecisions.com/
Support services
http://support.crystaldecisions.com/