include("header2.inc"); ?>
Cause: You are probably running your SQL statement as a different user. JobScheduler evaluates all SQL statements from its connection to ORACLE as the JobScheduler Administrator (defaults to jsadmin).
Action: Create grants and synonyms for your tables to allow jsadmin to evaluate them correctly
JobScheduler only uses the calendar to determine when to resubmit a job or job stream. You must submit the job at the first time you want it to run and JobScheduler will resubmit it according to your calendar thereafter.
Cause: You have either not registered the Program (or defined the Job Stream) with JobScheduler or, more likely, have not added the Program to the Security Group for the current user. By default, new Programs cannot be run by anybody before they are added to an appropriate Security Group.
Action: In the Maintain Security Groups form, query the Security Group for this user, and in the Programs dialog add the name of the Program or Job Stream you want to submit.
Cause: If your job has no obvious reason for waiting (for example, it has no start time restrictions and On Hold is No), it is probably waiting because of higher level constraints such as:
Action: Move to the Status field, and press [Help] (or use Help, Help from the menu). JobScheduler updates the Message to indicate why your job is waiting. You may need to requery the jobs to see the change to the message. If your job is waiting because of user or queue constraints on number of jobs, you can request that your JobScheduler Administrator increase the number of jobs you can run.
Cause: When you press [Help], JobScheduler updates the Message the next time it evaluates job constraints. This is normally no more than SleepTime seconds (by default 5 seconds).
Action: When you press [Help], JobScheduler responds with the message Updating job status. Wait 10 seconds and then press [Ok]. To give JobScheduler sufficient time to compute and update the Message, wait 5-10s before pressing [Ok].
Action: Move to the Hold field and check the box and press [Save]; alternatively you can press [Pause Job]. JobScheduler pauses the job (there may be a brief delay between pressing [Save] and the job being paused. The Status of your job will change to Paused when you next requery the View Job Status form. You can resume the job by clearing the Hold field and pressing [Save].
Action: Press [Kill Job] (or Edit, Remove from the menu and [Save]). JobScheduler immediately changes the Status to Deleted. When the job has been successfully terminated the Status changes to Error. If you terminate a Job Stream, JobScheduler terminates all its sub-jobs and nested job streams.
Warning: JobScheduler terminates jobs without regard to whether they are currently connected to the database, thus creating an orphaned database process. The Oracle server will (eventually) clean up and rollback database changes created by such an orphan process.
Cause: You may not have your system setup to properly support restarting the scheduler.
Action: Have your system administrator check that you can use rsh to execute commands on the host where the Master or Agent scheduler was running. JobScheduler uses the following command to restart the scheduler:
rsh <hostname> '. .profile; $JS_TOP/bin/JSMASTER JSADMIN 102 ' &or
rsh <hostname> '. .profile; $JS_TOP/bin/JSAGENT JSADMIN 102 <SchedulerID>' &Make sure that the setting for the JobScheduler in the .profile on the host are correct for that host. Make sure that $JSADMIN in the .profile is set to the administrator ORACLE user name and password.