When I am trying to schedule a job in Discoverer Enterprise
It says Database Error ORA-04068: Existing state of packages has been discarded ORA-04063: Package Body:'TKDBA.ELU5_Batch_User has Errors ORA-06508: PL/SQL: Could not find Program Unit ORA-06512: at Line 2.
What is that Popup?? Never seen it before... anyone knows what we can do. I am using
Desktop Client Version 10.1.2
End User Layer Library: 10.1.2.45.46c
End User Layer: 5.1.1.0.0.0
Oracle Enterprise 8i Enterprise 8.1.7.1.0 Production
Do I need to install something that is missing then?
Hi Phillip,
One reason this error can occur is if the user trying to schedule the workbook does not have access to sys.v_$parameter.
1. connect to the database as user sys, and execute the following:
grant select on sys.v_$parameter to <discoverer_user>
2. Compile eul5_batch_user package by connecting to SQLPLUS connect to the database as the eul owner, and execute the following:
ALTER PACKAGE eul5_batch_user COMPILE PACKAGE;
show errors;
select object_name,object_type,status from user_objects where status like 'INVALID';
3. If you still have an issue you may need to re-run batchusr.sql or batchusr_app.sql if you are using an applications mode EUL
Hope that helps.
Similar Messages
-
When I am trying to assign a job to my name, i am getting an error.
Hi,
In R12, when I am trying to assign a job to my name, i am getting an error(APP-PER-07510: You cannot continue, Future changes exist).
my user was end dated. i deleted that end date and trying to working on that, i can create a new user and will work on that user also but that problem is, we have my company unique id , based on that only user should be created.so, what ever i have user id, it had been created and i dont have any scope to create new user.
simply to say i have to user my end dated user only, how can i use it in feature also.
Please help me to come out form this situation.
Thanks,
Ram.Are you using "Shared" HR? You can refer to note >1074384.6 on Metalink for a resolution to this issue. If you are using the full install of HR then refer to note > 786785.1 on Metalink
Edited by: pillair on Jun 12, 2012 9:03 PM -
Event ID 1000 in Windows 2003 Server SP2 Backup Failure while trying to schedule backup job
Hi,
After run below mentioned two commands, I am able to schedule on backup Job but when I am trying to add another backup job then the same error is coming. Plz. reply with the solutions.
Cacls.exe C:\Windows\Tasks /E /G "NT AUTHORITY\SYSTEM":F
Cacls.exe C:\Windows\Tasks /E /G BUILTIN\Administrators:FHi,
If the issue could be resolved by these 2 commands, it seems to be a permission issue which is different as the common cause of Event 1000.
As the commands need to be performed each time creating a schedule, please check each file (task) under the folder c:\windows\Tasks and see if permissions are "inherited".
Also check the folder c:\windows\Tasks and see if "NT AUTHORITY\SYSTEM" and "BUILTIN\Administrators" are set as "This folder, subfolders and
files". It is recommended to compare the permission settings of this folder with a working system.
If you have any feedback on our support, please send to [email protected] -
Oracle scheduler : Setting job attributes using Enterprise Manager
Hi,
I have created below job and set the attribute "'raise_events" using the dbms_scheduler.set_attribute procedure.
begin
dbms_scheduler.create_job
( 'ebj_A', job_action =>
'/tmp/job_A.ksh',
job_type => 'Executable',
enabled => false ,
auto_drop =>false) ;
dbms_scheduler.set_attribute
( 'ebj_A' , 'raise_events' , dbms_scheduler.job_run_completed);
end;
Now I am creating the same job using the Enterprise Manager (GUI).
I donot see any where to set the attribute (Raise_events) using GUI.
Please can you tell me can we set that attribute using the Enterprise manager or not.
If yes please let me know how.
Thanks in advance.
Sreenath.Hi ,
I am modified my question.
We could set the value for "raise_events" attribute using Dbms_Scheduler.Set_Attribute.
Can we also set the value for the "raise_events" attribute using the EM.(GUI).
Please let me know.
Thanks in advance.
Sreenath. -
DBA COCKPIT error when scheduling a job
hi experts
Iam trying to schedule some jobs in DB13 when i try to add the action i get this error:
DBA Cockpit Error
Acces to system SID failed
Function Unit DB6_PLAN_DD_BATCH
Reason job error
iam able to run these jobs externally directly from DBM.
I have checked some notes 1072066,1057855,927642 and they are all refering to MS SQL Server as the database.Iam running ERP6 on Maxdb 7.6
Any help appreciatedhi
> dbmcli inst_enum
OK
7.6.00.35 /sapdb/BT1/db
dbmcli db_enum
OK
BT1 /sapdb/BT1/db 7.6.00.35 fast running
BT1 /sapdb/BT1/db 7.6.00.35 quick offline
BT1 /sapdb/BT1/db 7.6.00.35 slow offline
BT1 /sapdb/BT1/db 7.6.00.35 test offline
xinstinfo BT1-MAXDB
IndepData : /sapdb/data
IndepPrograms : /sapdb/programs
Installationpath of serverdb <BT1-MAXDB> not found!
ERR 20010 RTE Could not open file /sapdb/data/config/BT1-MAXDB for read, rc = 2
sdbregview -l
DB Analyzer /sapdb/programs 7.6.00.35 32 bit valid
Server Utilities /sapdb/programs 7.6.00.35 32 bit valid
PCR 7300 /sapdb/programs 7.3.00.55 valid
PCR 7301 /sapdb/programs 7.3.01.18 valid
PCR 7500 /sapdb/programs 7.5.00.37 32 bit valid
SAP Utilities /sapdb/programs 7.6.00.35 32 bit valid
Base /sapdb/programs 7.6.00.35 32 bit valid
Redist Python /sapdb/programs 7.6.00.35 32 bit valid
JDBC /sapdb/programs 7.6.00.30 valid
Messages /sapdb/programs MSG 0.3951 valid
ODBC /sapdb/programs 7.6.00.35 32 bit valid
Database Kernel /sapdb/BT1/db 7.6.00.35 32 bit valid
Loader /sapdb/programs 7.6.00.35 32 bit valid
SQLDBC /sapdb/programs 7.6.00.35 32 bit valid
SQLDBC 76 /sapdb/programs 7.6.00.35 32 bit valid
Fastload API /sapdb/programs 7.6.00.35 32 bit valid
PCR 7403 /sapdb/programs 7.4.03.44 32 bit valid
SAP Basis component SAPKB70011
db59 there are no errors log says all 4 tests successfull. -
Error when trying to schedule a workbook
Hello,
I'm trying to schedule a workbook, and Discoverer Plus is reporting an error :
ORA-04608: existing state of packages has been discarded
ORA-04603: package body "ACAIQPROD.EUL5_BATCH_USER" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2
In USER_ERRORS, I get :
EUL5_BATCH_USER, line 1110, position 67, PL/SQL: ORA-00942: table or view does not exist
EUL5_BATCH_REP_SECURE, line 1139, position 67, PL/SQL: ORA-00942: table or view does not exist
But both packages do exist the ACAIQPROD (a user with full DBA privileges). ACAIQPROD.EUL5_BATCH_USER has 11 functions in it.
Yes, I did enabled the DBMS_JOB package, I set 'job_queue_processes' to 2, and I ran the 'batchusr.sql' script. Using Discoverer 10gR2 and Oracle Database 9.2.02.The user is a full DBA so it already has access to v$parameter, but I have to use sys.v_$parameter :
SQL> select count(*) from sys.v_$parameter;
COUNT(*)
258
SQL> select count(*) from v_$parameter;
select count(*) from v_$parameter
ERROR at line 1:
ORA-00942: table or view does not exist -
Hi,
I am trying to schedule 2 jobs that are not logically linked, but their execution is dependent.
ex: Job A: Gather the DB Stats
Job B: Run the DB Export
Due to some technical reasons, I want Job B to run during its allocated schedule ONLY IF Job A ran, and completed successfully before it was Job B time slot.
So my questions:
1- Is there a way to do this in Enterprise manager?
2- Is there a way to do this in the script, other than calling job B specifically from job A, nor enabling / disabling nor altering the Job in any way..
ThanksThanks Lakmal.. So I am using Oracle 11g, and I had a look at the link you provided. Quite informative and useful.
So I have the below assumptions, please correct me if I am wrong:
1- So this is basically like a subroutine of jobs,whereby they run according to the chain.
2- and each job runs when the previous is completed.
3- So if one of the jobs in the chain fails, the whole chain fails, and no retries are executed on the chain level
Right?
Thanks -
Error after scheduling a job in background....
Hi All,
I'm trying to schedule background job and i m using code for scheduling that job for ex-
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = g_name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF sy-subrc EQ 0.
SUBMIT zrb_cc_clc_n_copy VIA JOB g_name NUMBER number TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = g_name
sdlstrtdt = sdate
sdlstrttm = stime
strtimmed = 'X'
IMPORTING
JOB_WAS_RELEASED =
CHANGING
RET =
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Still i am getting error message in job overview status cancelled
Thanx in advance
N.scheck in transaction SM37 why this particular job was cancelled
-
Hi,
Could you help me to find what's wrong in my URL? I was trying to schedule a job to run every Friday. Here is my URL:
http://report.iashub.com/dev60cgi/rwcgi60?ias&server=Repserv&report=possessioncnco.rdf&destype=cache&desformat=pdf&schedule=every_fri_from_12:20_Janurary_20,_2002_retry_after_1_hour
OR
schedule=every_fri_from_12:20_Jan_20,_2002_retry_after_1_hour
The error message is:
Oracle Reports Server CGI - Unable to interprete scheduling command.
Thankshello,
try
weekly_from_12:00_jan_22,_2001_retry....
here's the generic syntax :
[FREQ from] TIME [retry {n} + after LEN]
FREQ hourly | daily | weekly | monthly |
{every LEN | DAYREPEAT}} | {last {WEEKDAYS | weekday | weekend} before {n}+}
LEN {n}+ {minute[s] | hour[s] | day[s] | week[s] | month[s]}
DAYREPEAT {first | second | third | fourth | fifth} WEEKDAYS of month
WEEKDAYS mon | tue | wed | thu | fri | sat | sun
TIME now | CLOCK [DATE]
CLOCK h:m | h:mm | hh:m | hh:mm
DATE today | tomorrow | {MONTHS {d | dd} [,year]}
MONTHS jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec -
Scheduling a job in windows from a java program.
hi all,
I have been trying to schedule a job ( creating a report) from a java application using the 'at' command. The syntax which i am using is something like this,
Runtime.getRuntime().exec("at 09:00 /EVERY java -cp C:\Vishal\lib\activation.jar;C:\Vishal\lib\adwords-0.7.jar;C:\Vishal\lib\mail.jar;C:\Vishal\; RepGen KeywordReportwhere,
RepGen - is the class file to run
KeywordReport - Argument
The program runs perfectly without the 'at' command & is creating the report.
Once i use the at command , its not working.
Please can anyone help to fix this issue.
Thanks & Regards,
VishalHave you configured the service account on your windows system?
In the Scheduled Tasks window, click on Advanced -> AT Service Account and check if you are using a valid service account (one that has the necessary privileges to run the operation).
Try replacing the command for your java app with notepad, and see if it pops up.
Also try running your AT command from the command prompt, and see what report you get.
I run the following command from a bat-file, and it works well (provided that I set my AT Service Account first):
at 18:00 /interactive /every:Monday,Tuesday,Wednesday,Thursday,Friday javaw -jar "e:\Programs\Backinup Palace\backinup.jar" "e:\Data\System\daily_backups.xml"
The /interactive switch is needed if your program has a UI. -
Dear Support group,
We have successfully finished the CUUC process on our 46C system to ECC 60 system. Now we are at the fina stage and wanted to complete the SUMG final process..
I have created file_info.tx and called the transaction SUMG. Then, Edit --> R3Load Log File and uploaded all the xml files in to db.
Under Workers list tab, I see a total of 267 tables with the 'Completion category' as 'N'. How to process these tables. When ever I select the 'Schedule Worker Job', the job is starting but it is completing in less 2 seconds.
If I select a line itme under worklist and select the Schedule Workers Job, the system is displaing the information windows as "Not Able to Repair the Source Yet"
All the worklists items are in Gray color status. How to process these items..What exactly I am doing wrong here...
Appreciate your advide and help.
Thank you,
Nikee
Edited by: Nikee Cheella on Jun 4, 2008 9:34 AMYou need to be a bit clearer on what you're monitoring. What "status" stays unchanged?
Some basics. When a job is submitted an entry is made into the Job Queue (a data dictionary table). The views DBA_JOBS, USER_JOBS and ALL_JOBS are views on this table.
When the job is to be executed, it is executed by a job queue process. There is a pool of these Job Processes that checks the job queue and execute jobs in the queue. Such a Job Process will have an entry in the V$SESSION virtual view.
To monitor the status of the actual executing job, requires you to look at the active sessions on the database and not at the job queue. Looking at the Job Queue is not looking at the actual process running and executing the job.
So what status is being looked at here? What status do you want, or do you expect to see? -
C# Script to copy an Excel File working locally but not on the server when I schedule a job
So I have these couple C# commands to copy an Excel File which works fine and dandy on my local client when I test and run this SSIS Package but when I tried scheduling the job on the server, it failed.
These are the couple C# commands...
// This Opens the Source .xlsx File from Emdeon ePaySmart
Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
// This will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
Is this because I'm using xlFileFormat.xlExcel8 and locally it is running fine but when I schedule via SQL Server Management Studio as a SQL Server Agent Job it seems to be failing??
I sure hope I don't have to change this so it will run as a SQL Server Agent Job and/or run this locally every blessed week.
Can someone clear this up for me and provide a potential solution?
Thanks for your review and am hopeful for a reply.
ITBobbyP85That is Excel automation, which requires Excel to be installed on the computer where the code runs, and is not supported on a server without an interactive user logged in.
David
David http://blogs.msdn.com/b/dbrowne/ -
When I schedule a Job, the job is executed twice.
Post Author: sachinddalal
CA Forum: Data Integration
Hello,
I am using Data Integrator Ver 11.0.2.22. I have scheduled the job through Admin Console. When the job is executed it seems that the job is executed twice.
On the Status tab onDI Administrator, it shows that both the jobs started at same time. The end time of bot the job is different.
Any one have any idea how this happens?
Also any way to ensure that the job are not executed twice.
Thanks,
Regards
Sachin DalalPost Author: bhofmans
CA Forum: Data Integration
If you get this issue for a scheduled job only, I might be that the schedule is created twice in the OS scheduler. You could check the windows task scheduler (or cron on UNIX) to check for duplicate schedules.
If you see this issue also for jobs you execute manually (via webadmin or Designer), you can have this kind of problems if the same jobserver is registered multiple times in a repository. You can check the AL_MACHINE_INFO in your repository. It should have one line for each jobserver and one line for each administrator the repo is connected too. I suspect you have some duplicates there (you can just remove them - this table gets populated when adding a repo in the web admin and when adding a repo to a jobserver in the server manager). -
Set several printers as output devices when scheduling a job
Hi experts,
I am working on ECC 6.0. I am scheduling background jobs through sm36 and I must configure 3 different printers as output devices, that is to say the output must go to 3 printers at the same time. I can not find how to do it. Could you please help me ?
many thanks,
Best regards,
Guislain LibessartHi,
I am really sorry, about those responses but it is possible. You will have to create a POOL printer for the same.
Goto SPAD
Create a New Printer with
Device type : It should be common for all those actual printer where the printing will happen.
Device Class : Device Pool
(When you set this Device Class It will open one more tab "Device Pool" and the tab "Acces Method" will no more be there)
Goto the "Device Pool" Tab Add the printers to which the print will redirected to. And choose the option "Send to All Devices in Pool".
Now assign this POOL printer to the background job from which you want to print the outout to all those printers.
Regards,
Sanujit -
Error when scheduling backup job in OEM
We have Oracle 11.2 RAC on Redhat Linux. I was creating an customized backup job and get the errorsORA-01476: divisor is equal to zero
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 7544
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 7699
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8211
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8342
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8503
ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8570
ORA-06512: at "SYSMAN.MGMT_JOBS", line 273
ORA-06512: at "SYSMAN.MGMT_JOBS", line 86
ORA-06512: at line 1 The backup command is created by OEM as backup incremental level 0 cumulative device type disk filesperset = 5 tag '%TAG' section size 500 M database;
backup device type disk filesperset = 500 tag '%TAG' section size 500 M archivelog all not backed up;
allocate channel for maintenance type disk;
delete noprompt obsolete device type disk;
release channel; Actually using other ommand also get the same error.
What is wrong? I scheduled backup job before on this server and it worked.This may be due to that the schedule frequecy is not set. Make sure Frequency Type and Repeat Every boxes get filled properly.
Maybe you are looking for
-
Spatial query results in core dump
Following query leads to a core dump error. I only can get the first 45 rows. ksedmp: internal or fatal error ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kokekd2m+43] [PC:0x13A71A3] [ADDR:0x65CECD14] [UNABLE_TO_READ] [] SELECT ge
-
FM for getting the Service Ticket Details
Hi Group, I have a requirement wherein, I need to get the Service Ticket(s) for the system when I pass the Status of the Service Ticket. The query is like: <b>Import </b>-> Passing the <b>Status</b> of the Ticket (like : <b>Assigned/Closed/Resolved <
-
Any progess on the DRM error when changing versions; machines etc?
Hi folks, I've recently changed PCs and having downloaded Digital Editions to the new machine, I can no longer open a .pdf that lives on a network drive that was bought and downloaded via my old machine (I get the oft-reported DRM error). Having look
-
Hi How do i install Thai language on a Nokia E51 ?? it is an european phone bought in Denmark my wife is from Thailand and need Thai language. i dont want to travel to Thailand to get it updated but cant find software on Nokia homepage.
-
Audio into my macbook pro with retina display?
Does any one know of any devices I can use to get audio into my macbook pro with retina display? PLEASE Help!!!!