Error saving job to database for standard jobs scheduling
Hi,
In IDES server when iam goto Tr.code -- SM36 -- Standard Jobs -- Default Scheduling iam getting below error.
Error saving job to database
Message no. BT117
Diagnosis
The SAP system was unable to save the current job in the database. This failure suggests that there is a problem with the database system or with the network connections between the SAP application servers and the database system.
System Response
Job not saved and not scheduled.
Procedure
To analyze this problem, start by checking the system log for messages about network or database problems. You can also use the computing center management system to check your system for problems.
Guide me for the same.
Thanku
HI,
Sometimes this error will come.
Try to schedule jobs manually using SM36 instead of using standard job button.
Also you can check this thread
Re: Error saving job SAP_REORG_JOBS to database
Which seems to report same problem.
Its nothing to take with database conenctivity as SAP is up and running .
Try this and revert.
Regards,
Similar Messages
-
Job and salary for that job based on the department!!!
Please, can somebody help me with this. I'm facing some challenges getting the required result with my queries.
Here's what am trying to do:
A query to display the job, the salary for that job based on the department number, and the total salary for that job, for departments 20, 50, 80, 90, assuming the schema in use is the hr schema. The job should be distinct, no duplicates.
Thank you for your anticipated answers.
I really appreciate your replies in advance.
T.O846641 wrote:
Please, can somebody help me with this. I'm facing some challenges getting the required result with my queries.
Here's what am trying to do:
A query to display the job, the salary for that job based on the department number, and the total salary for that job,What do you mean by "the salary for that job"? It sounds like you want something besides the total salary (which is what the SUM function provides). What is that other something? The avgerage salary (that would be the AVG function)? The smallest salaary (MIN)? The biggest salary (MAX)? The number of rows that have a salary (COUNT)? If you can explain what you want, someone will help you get it.
for departments 20, 50, 80, 90, assuming the schema in use is the hr schema. The job should be distinct, no duplicates.GROUP BY automatically gets distinct results for each of the GROUP BY expresssions, so there's no need to say SELECT DISTINCT . The previous solution could be better written as:
SELECT job_id
, SUM (salary) AS total_salry
, department_id
FROM hr.employees
WHERE department_id IN (20, 50, 80, 90)
GROUP BY department_id
, job_id
ORDER BY department_id
, job_id
;The output that this produces from the Oracle-supplied hr.employees table is:
JOB_ID TOTAL_SALRY DEPARTMENT_ID
MK_MAN 13000 20
MK_REP 6000 20
SH_CLERK 64300 50
ST_CLERK 55700 50
ST_MAN 36400 50
SA_MAN 61000 80
SA_REP 243500 80
AD_PRES 24000 90
AD_VP 34000 90I hope that's what you wanted.
If not, post the results you do want from this same table. Explain how you get those results.
Always say which version of Oracle you're using. It might not matter in this case, but why take a chance? -
Error while creating standby database for ebs prod database
Hi,
We are getting error while trying to create a standby database for EBS database by using RMAN DUPLICATE commands,
Steps followed:
1.) Backup the primary database (Ebs PROD db). This was done on 12-Mar-2012
***RMAN backups are scheduled to run @10:00 pm every night. Flash Recovery Area has been configured and backup is taken at this location
everyday.
2.) Tar the backupset, autobackup, archivelogs etc in FRA .... and copy this to the target server (STANDBY).
*** Copy(oracle rdbms binaries and FRA) completed @12:00AM on 14-Mar-2012
3.) Tried to create standby database by using RMAN duplicate on 14-Mar-2012
RMAN> rman sys/sys@PROD auxiliary /
RMAN> duplicate target database for standby dorecover nofilenamecheck;
After, some time the RMAN DUPLICATE process errors out with,
ORA-19563: header validation failed for file
We are not sure about the cause of this error. While searching in Metalink, we got several notes (ex, 352074.1) but all the causes stated for this error
are not applicable in our case. We double checked our instance to confirm this.
We have also found that in PROD database there are 65 datafiles and after the RMAN DUPLICATE errors out in the targer server (STANDBY) the RMAN managed to restore 51 datafiles before erroring out.
# Please note PROD database was also backed up on 13-Mar-2012. We have a suspicion that backup on 13-Mar may be a possible cause for this error but we are
not sure.
Need suggestions if there can be any other possible causes???
We are in a fix and it would be appreciable if we get some quick suggestions..
Regards,
Rupdipt
Edited by: orarup on Mar 14, 2012 12:29 AMWhen opening the file to be placed in a copy or backup set, to be inspected, or used as the target for an incremental restore, its header was not recognized as a valid file header for a file of the indicated type (data file, archived log, or control file) belonging to the current database.
Kindly Ensure that the correct files are being specified for the copy or backup operation.
Regs,
Bhavi Savla. -
Error saving a Production Order for Development Trials
Hi all,
I'm trying to simulate a special process I have in one of mine SU's.
When we do trials process we use a specific order type, with a settlement rule and a specific cost centre and we need to create the routing and BOM inside the order. We can even introduce some text items as we are doing trials.
The problem is that after doing all those steps when I try to save the order I get the following ERROR MESSAGE:
System ID.... S7T
Client....... 010
User..... PONCIANO_A
Transaction.. CO01
Update key... 475073C8187700A500000000913740B3
Generated.... 30.11.2007, 15:58:56
Completed.... 30.11.2007, 15:58:56
Error info... 00 001: Error creating batch number
Does any one of you have an idea of the cause of this?
Thanks and regards to everyone!Joel,
Looks like the error is caused during creation of Batch for the order. In the order type dependent parameters, make the defination that Batch is not created.
Regards,
Prasobh -
Updation Error in "Group Personnel Subareas for the Work Schedule "
Hello everyone,
While trying to assign a PS grouping code to my Personnel Area here, I am facing a problem.
I can't see them in the table mentioned above .
Already checked the previous steps in Enterprise structure i.e creation PA and PSA, they are displayed properly in respective tables but I can't find them here in grouping for work schedule.
Could any one of you be kind enough to throw some light on possible errors and their solutions.
Thanks & Regards,
VibhuHi,
Just now I am able to sort out this problem, Actually we need to carry out "Maintain User Parameter" activity under 'Personnel Administration'
IMG Steps are as follows :
SPRO => Personnel Management => Personnel Administration => Basic Settings => Maintain User Parameters
Following screen will come up
here select the country you like to work on (in my case it is India)
Select Continue
A pop up will come stating "Parameters created for India"
Select Continue
User profile screen will come up
Save it
Now go to time management section of IMG
Go to "Personnel subarea grouping"
Personnel areas belonging to your country grouping will be displayed on screen.
Thanks,
Vibhu -
.bat or .sh file for executing jobs in data services
are there any command line utilities where i can import the .atl files and executes the jobs in data services
i was able to import the .atl files using 'al_engine' but not able to find the arguments to execute the jobs.
Here is my requiremen:
There would be 2 master scripts :
Master_Initial_Script.bat/.sh - This would have all the pre/post checks and would call the DS Initial Job
Master_Delta_Script.bat/.sh - This would have all the pre/post checks and would call the DS Delta Job
Pre-Checks for Delta Job -
If the initial job is not loaded then
Do not move further to execute the Delta job
else
Execute the Delta job
Post Checks for Delta Job:
Print the statement when the job starts successfully,
Checks the error/return code and prints Job success message in a log fileThis looks more like scheduling the job with dependency.
Unfortunately, BODS scheduler doesnt support setting depedencies for running the jobs.
So, the best way to go forward is export the jobs to a batch files in a particular location.
Use the batch files with a external scheduling tool and set the dependency.
A scheduling tool such as Control M or Redwood chronacle scheduler should be able to execute the batch files.
Set the dependency in the scheduling tool accordingly.
Let me know if you need any more details.
Regards,
Kishore Reddy L. -
Received a print confirmation for a job I didn't order
I received a "ePrint Job Received" email for a job I know nothing about.
The email came to me from a catchall address of a domain I have:
[email protected]
I don't know what to do about it, I don't want to be billed for anything, and I have no idea how ePrint works, or how you would have billing information for me anyways.
Please advise.What is ePrint?
HP ePrint is a free service that allows you to print documents and photos from any mobile or network-connected device (such as a phone, laptop, tablet, or other mobile device) to your HP ePrint-enabled printer. Each HP ePrint-enabled printer has its own unique email address. After you enable HP ePrint on your HP ePrint-enabled printer, you can print from your mobile or network-connected device by sending an email to your HP printer's email address. With HP ePrint, you can print from anywhere, at any time. If you can send an email, you can use HP ePrint.
Source: Getting Started with ePrint -
Spool list is not getting created for background job
I am creating background job using JOB_OPEN and then submitting my z-report using submit statement and then closing job using JOB_CLOSE. for this job is getting creating in sm37 and also gets finished but it does not create spool list showing output.
Any idea how to do this?
Thanks in advance.DATA: lv_jobname TYPE tbtcjob-jobname,
lv_jobcount TYPE tbtcjob-jobcount,
lv_variant TYPE variant,
wa_var_desc TYPE varid,
wa_var_text TYPE varit,
it_var_text TYPE TABLE OF varit,
it_var_contents TYPE TABLE OF rsparams.
REFRESH: it_var_contents, it_var_text.
CLEAR: wa_var_desc, wa_var_text.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-cprog
TABLES
selection_table = it_var_contents
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CONCATENATE sy-datum sy-timlo INTO lv_variant.
wa_var_desc-mandt = sy-mandt.
wa_var_desc-report = sy-cprog.
wa_var_desc-variant = lv_variant.
wa_var_desc-transport = 'F'.
wa_var_desc-environmnt = 'B'.
wa_var_desc-version = '1'.
wa_var_desc-protected = 'X'.
wa_var_text-mandt = sy-mandt.
wa_var_text-langu = sy-langu.
wa_var_text-report = sy-cprog.
wa_var_text-variant = lv_variant.
lv_jobname = lv_variant.
CONCATENATE 'Batch Job Variant -'(006)
sy-uname INTO wa_var_text-vtext.
APPEND wa_var_text TO it_var_text.
Create the varaint for the back ground job.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = sy-cprog
curr_variant = lv_variant
vari_desc = wa_var_desc
TABLES
vari_contents = it_var_contents
vari_text = it_var_text
EXCEPTIONS
illegal_report_or_variant = 1
illegal_variantname = 2
not_authorized = 3
not_executed = 4
report_not_existent = 5
report_not_supplied = 6
variant_exists = 7
variant_locked = 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.
Open the job.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = lv_jobname
IMPORTING
jobcount = lv_jobcount
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.
submitt the job in background mode.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = lv_jobcount
jobname = lv_jobname
report = sy-repid
variant = lv_variant
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
close the job.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = lv_jobcount
jobname = lv_jobname
strtimmed = 'X'
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.
Hope this will be helpful.. -
Remotely invoke DS job and wait for job
Hi,
We are running DS 4 SP2 on Linux and have generated our job script from
the console. We need to be able to invoke a DS job from scheduler
(autosys) running on AIX and wait for the DS job to complete so the
return status is passed back to autosys.
We are planning to replace informatica with DS, informatica has a utility
pmcmd which allows remote invocation and will also wait for the job to
complete. Is there a similar utility in DS?
Alternately, if we installed DS on the remote AIX server, would it be
able to remotely start/wait for the job on the Linux server?
Thanks,you can export the job execution command for a job from management console and use that to run the job from auto sys, the script will start job aluncher which has a option -w (by default it waits for job to complete) which tell whether the launcher process waits for job to complete or starts the job and exit
-
Hi,
In IDES ECC6.0 Ehp 3 (Os: window 2003 64bit DB: oracle 10.2.0.2) server when iam goto T-Code -- SM36 -- Standard Jobs -- Default Scheduling iam getting below error.
<error saving job to database>
So I patched oracle 10.2.0.1 to 10.2.0.4, and kernel patch with latest one.
But, the same error occured.
I tried to execute r3trans -d at the OS level,the results is <The system cannot execute the specified program>.
In SM21, i am getting below error
<error saving job to database>
&CAUSE &
The SAP system was unable to save the current job in the database. This failure suggests that there is a problem with the database system or with the network connections between the SAP application servers and the database system.
&SYSTEM_RESPONSE&
Job not saved and not scheduled.
&What_TO_DO&
To analyze this problem, start by checking the <DS:TRAN.SM21>system log for message about network or database problems. you can also use the <DS:TRAN.SRZL>computing center management system to check your system for problems. >
I checked SM28 and SICK and it reports no error.
Please help how can I schedule the standard jobsMake sure you use the proper kernel, for 64bit there are two kernels:
- one for AMD64 and Intel64
- one for Itanium-2 64bit
The R3trans seems to be the wrong one - as I would suggest are the brtools.
Markus -
How to findout the sharepoint job which responsible for database re indxing
Hi
In sharepoint 2010 i configured RBS storage for Web application content database
in our org form has two web frontend servers,
two application servers, and two index servers ,one database server
so when users upload BLOBs to sharepoint library we faced some time RBS storage space problem
Exception:Microsoft.Data.SqlRemoteBlobs.BlobStoreException: There was a generic database
error. For more information, see the included exception. --->
System.Data.SqlClient.SqlException: RBS Error. Original Error: Number 1101,
Severity 17, State 12, Procedure -, Line 1,<o:p></o:p>
Message: Could not allocate a new page for
database 'WSS_Content_80' because of insufficient disk space in filegroup 'PRIMARY'.
here when i ask our DBA he said there is one sharepoint job is running which saving audit data daily every data and database is re indexing every time , to sharepont content database size is increasing
so how to findout the job which responsible for database re indxing
adilAudit data is created when an audit event his triggered. Auditing is configured on a per-Site Collection basis.
http://office.microsoft.com/en-us/sharepoint-server-help/configure-audit-settings-for-a-site-collection-HA102031737.aspx
There is a Health Analyzer rule named "Databases used by SharePoint have outdated index statistics".
http://technet.microsoft.com/en-us/library/hh564122(v=office.14).aspx
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
How to Schedule Job using Database Control for SQLPLUS script?
Hi All,
I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
========================================================
define OEM_FRIENDLY=1
define OWB_BACKGROUND=0
set serveroutput on
set verify off
whenever sqlerror exit failure;
define REPOS_OWNER='&1.'
define LOCATION_NAME='&2.'
define TASK_TYPE='&3.'
define TASK_NAME='&4.'
define SYSTEM_PARAMS='&5.'
define CUSTOM_PARAMS='&6.'
alter session set current_schema = &REPOS_OWNER.;
set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
variable exec_return_code number;
begin
-- Initialize Return Code
:exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
:exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
'&TASK_TYPE.',
'&TASK_NAME.',
'&CUSTOM_PARAMS.',
'&SYSTEM_PARAMS.',
&OEM_FRIENDLY.,
&OWB_BACKGROUND.);
end;
exit :exec_return_code;
===========================================================
Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
Please provide brief steps.
Thanks for your help in advance.
- MehulLet me explain to you about scheduler.
You can schedule a pl/sql stored procedure TEST_S as follows...
Begin
dbms_scheduler.create_job(
job_name=>'MY_JOB',
Job_Type=>'STORED_PROCEDURE',
job_action=>'TEST_S',
start_date=>sysdate,
repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
end_date=>null');
END;
You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
Example of converting a .sql script in .bat script...
insert.sql
insert into dept values(50,'IT','LONDON');
exit
insert.bat
sqlplus scott/tiger @insert.sql
Executing now...
C:\Documents and Settings>insert.bat
C:\Documents and Settings>sqlplus scott/tiger @insert.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
1 row created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings>
So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
Scheduling by database control...
http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
Scheduler
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package. -
Spool error for background job
Hi All,
I have scheduled one job in sap for a report.I have made a distribution list via tcode SO01.
I have given this distribution list to the SPOOL RECEPIENT section in SM 36.
The job is running successfully but is giving the following error and not sending emails to the distribution list.
The error is :-
"Spool list of step 1 could not be sent due to error 7".
Does anybody has any idea about this error?
Please help its a production issue.
Thanks in advance
Vivekanand MeghmalaLook at SAP note : 760838
Symptom
Background job spool lists are not sent.
Other terms
RSBTCRTE, RSPO_SPOOLJOB_TO_OFFICE, SO_DOCUMENT_SEND_API1
Reason and Prerequisites
1. The jobs in question have recipient references in table TBTCO but these have no equivalent in the Business Object Repository.
2. An error occurs when sending in the spool or in the Sapconnect layer.
Solution
This note does not provide a direct solution to the problem but it does provide a source code enhancement that you can use to create more trace information about the cause of the error. When you copy and execute a job with spool list recipients, trace messages are output when errors occur.
After implementing the correction instructions, use transaction SE91 to create the following message:
Message class: BT
Number: 347
Text: Spool list of step &1 could not be sent due to error &2.
In detail, the error numbers mean:
1 = Spool request does not exist (or no longer exists)
2 = Spool request does not contain any data
3 = Empty page area selected
4 = No authorization to send the request
5 = Access to the spool request is not possible
6 = Read error in the Temse layer
7 = Spool request could not be sent (sending problem)
8 = Incorrect request type
9 = Other -
we are running 3 batches parallel(a.ksh,b.ksh,c.ksh parallel ) .if a.ksh will complete then d.ksh will start('d' start when 'a' will terminate successfully) and we have to handle error for all jobs ( if some job got aborted during runtime) ?
Moderator Action:
You already asked this question, two days earlier.
https://forums.oracle.com/thread/2585158
Stay with your original post. Deliberate multiple posting is the same as spamming the forums.
This new post is locked. -
SQL Server Agent Job And Database Mail - Error formatting query, probably invalid paramters
We have a stored procedure that we are trying to call with a SQL Server Agent Job. The stored procedure calls Database Mail. This is SQL 2008. The execute task is simply:
USE [Production]
GO
EXEC [dbo].[JOB_EMAIL_SCHEDULED_REPORTS]
GO
When the job runs, it is erroring out immediately, with the error:
Execute as user: NT AUTHORITY\NETWORK SERVICE. Error formatting query, probably invalid paramters [SQLSTATE 42000] (Error 22050). The step failed.
When we go into SQL Server Manager and just execute the SQL query, it works though. Something within the SQL Server Agent job, and Database Mail is causing problems. Any ideas? Thanks.Justin,
If you use SSMS then the procedure is executed under a different user when compared to running using a SQL Server Agent Job.
Isolate the problem by running a SQL Server agent job that sends a mail. Also check if the NT Authority\Network Service account is
in good standing. Look at the below thread with a similar problem that had an expired account.
http://social.msdn.microsoft.com/Forums/en/sqltools/thread/bac7ecee-a156-4313-b532-ba15813a0700
http://SankarReddy.com/
Maybe you are looking for
-
My ipod nano is not showing under the devices tab in iTunes however, is is recognized in My Computer (Devices and Printers) as "Unspecified" I just want to be able to sync and add/remove music!!!
-
LG Lucid Korean language owners manual
I purchased an LG Lucid phone. Now i am in search of an owners manual written in Korean, ideally in pdf format. Anyone know where I can download one? Thanks in advance for any leads.
-
Data Trigger interfering with parameters??
Hi, I have my data template set to print the user parameters to XML. However, only a couple of the parameters are making it there. I was wondering if the use of data triggers could be the cause of this... Anyone else had this problem? Thanks, Matt
-
Hi.. I have print option below the report. When I click on the Print -> HTML button its work fine. But when I click on Print->PDF button,I got the following error.. An error occurred during execution of "connect". No connection could be made because
-
Low level Hex disk edit & search util needed- suggestions please?
low level Hex disk edit & search util needed- suggestions please? Maybe It's just late & I've had a bad day.... but I haven't needed a low level Hex disk edit & search utility suitable for an Intel 10.4.x Mac until now and can't seem to locate one. T