When sp_add_log_shipping_primary_database Creates Alert job - why sp_add_log_shipping_alert_job ?

Hi, 
sp_add_log_shipping_primary_database created two jobs : 1. Backup Job 2.Alert Job . Why do we require sp_add_log_shipping_alert_job ? 
Many Thanks
Chaithanya M
Regards Chaithu.. If it is usefull,Mark this as Answer.

But Alert job is by default created when we run sp_add_log_shipping_primary_database . so, why we need this one
: sp_add_log_shipping_alert_job  ?
Regards Chaithu.. If it is usefull,Mark this as Answer.
Hello,
Ok sorry I did not got your point first time.You dont need to create an alert using this method as alert is already created(as you said) .This proc also checks to see if alert job is created ,if not created it will create it.So as you say its already created
you dont need to run sp_add_logshipping_alert_job
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Similar Messages

  • When I create a file, why does the PDF have text aligned on different pages than my word document?

    I am trying to create a PDF of a Mac Word document.  In the conversion process text seems to shift - what was on the bottom of the first page in the word document shows up on page 2 of the pdf.  Any thoughts?

    Hi svht,
    Would you send your document to [email protected] as an email attachment?
    I will check it from my end.Please add the link to this forum post for reference.
    Regards,
    Florence

  • Creating the job to execute automatically the program RSWUWFML2

    Hi guys,
    Iu2019m setting up the job to send Workitems to internet periodically with the program RSWUWFML2, when I create the job It ask me for a responsible user in the u201Cstepu201D, this user is going to be the one to execute this job, I usually call this user u201CWORKFLOWu201D and I need to set the Email account (Workflow) for this user (Tcode SU01) because on this Email account  the system will be sending a kind of log for the workitems sent to users and which of them have been opened by the user.
    The question I have is in SU01 which u201CROLESu201D have to be set for this user to be able to make all the thinks to send the workitmes to the users and send this Email as a log and make all the things related to execute the RSWUWFML2 report.
    Tanks a lot

    >
    FelipeUribe wrote:
    > Hi Ravi, tanks a lot for your answer, The problem using user  WF-BACH as a user to be placed in the Job (Tcode SM36  -> Step u2026 field u201CUser = Background User Name for Authorization Checku201D) is that I get an error because this user canu2019t be a u201Ccommunicationu201D useru2026.the Tcode SWU3 create this user WF-BATCH automatically with this features.
    Hi Felipe
    Here's Help from the user type field in SU01 for B it says,
    System 'B'
    Use the system user type for internal system processes (-> background processing) or system-related processes (-> ALE, workflow, TMS, CUA).
    Dialog logon (using SAP GUI) is not possible.
    A user of this type is excluded from the general settings for password validity. Only user administrators can change the password using transaction SU01 (Goto -> Change Password).
    Multiple logons are permissible.
    I have checked one of our productive systems and it is set to B for WF-BATCH. The error message you get is because your WF-BATCH is a C type.
    Hope this helps.
    Good Luck
    Ravi

  • Create a job associated window, it failed.

    I use the window feature to control the job stop at a certain time. After create the job, I will set attribute 'stop_on_window_close' true to implement. However, when I create the job, it occured the error. The operation is below:
    BEGIN
    dbms_scheduler.create_window(window_name => 'TEST_WIN',
    resource_plan => NULL,
    start_date => sysdate,
    repeat_interval =>'freq=daily;interval=1;byhour=17;byminute=30;bysecond=0' ,
    duration => INTERVAL '3' MINUTE);
    END;
    BEGIN
    dbms_scheduler.create_job(job_name => 'TEST_JOB',
    schedule_name => 'TEST_WIN',
    job_type => 'PLSQL_BLOCK',
    job_action => 'begin dbms_lock.sleep(300); end;',
    enabled =>TRUE,
    auto_drop => FALSE);
    END;
    ORA-27481: "DPS2.TEST_JOB" has an invalid schedule
    ORA-27476: "DPS2.TEST_WIN" does not exist
    SQL> select window_name,enabled from all_scheduler_windows where window_name='TEST_WIN';
    WINDOW_NAME ENABLED
    TEST_WIN TRUE
    Is there some wrong with my operation?
    Thanks in advance.
    Edited by: 904967 on 2012-1-10 上午2:30

    Hi,
    Windows are not intended to be used to stop a job after a certain duration. They are intended to ensure that jobs run during periods when certain resource plans are in effect.
    The recommended way to stop a job after a given duration is to use max_run_duration . An example is here.
    limit runtime of a JOB
    Thanks,
    Ravi.

  • Why we are using event receivers in creating timer jobs?

    Hi All,
    Why we are using event receivers in creating timer jobs?
    Thanks in advance!

    Hi,
    Suppose you are creating a custom timer job following the steps which are similar as what this demo provides:
    http://www.codeproject.com/Articles/403323/SharePoint-Create-Custom-Timer-Jobs
    In this demo, an Event Receiver is created for installing the Job Definition when we deploy the solution or uninstalling it when we extract this solution.
    Here, the Event Receiver listens to the FeatureActivated evetn and the FeatureDeactivating event, which corresponding to the timing of activating and deactivating the feature
    of this solution, it just like a switch during the life cycle of a solution in a SharePoint site collection which will make us easier to manage the features coming with a solution package.
    More information about feature and solution:
    http://msdn.microsoft.com/en-us/library/office/aa543214(v=office.14).aspx
    https://www.simple-talk.com/dotnet/.net-tools/using-features-and-solutions-to-deploy-your-sharepoint-customizations/
    Feel free to reply if this is not what your question about or there are still any questions.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Creating a job in schema when can't login in that schema

    there is a requirement that I've to create a job in a schema, but i don't have that schema's password,but I've that server's SYSDBA's password,means I can login into SYS account as SYSDBA,
    but I've to create a job in that schema.
    how is it possible,
    EXECUTE IMMEDIATE ' DECLARE '||
    ' X NUMBER; '||
    ' BEGIN '||
    ' SYS.Dbms_Job.SUBMIT '||
    ' ( job => X '||
    ' ,what =>'||''''||what ||''''||
    ' ,next_date => TO_DATE('||''''||next_date||''''||','||''''||'dd/mm/yyyy hh24:mi:ss'||''''||') '||
    ' ,INTERVAL => '||''''||intervl||''''||
    ',no_parse => TRUE '||
    ' );'||
    'SYS.Dbms_Output.PUT_LINE('||''''||'Job Number is: '||''''||' || TO_CHAR(x)); '||
    'END; ';     
    help required     

    A desc on DBA_JOBS reveials the first three:
    LOG_USER    VARCHAR2(30)                    USER who was logged in when the job was submitted                           
    PRIV_USER   VARCHAR2(30)                    USER whose default privileges apply to this job                             
    SCHEMA_USER VARCHAR2(30)                    select * from bar  means  select * from schema_user.bar          Perhaps you could try chang_env:
    Use the correct NLSENV, below is just an example:
    begin
    sys.dbms_ijob.change_env( JOB => 3
    ,LUSER => '<NEW USER>'
    ,PUSER => '<NEW USER>'
    ,CUSER => '<NEW USER>'
    ,NLSENV => 'NLS_LANGUAGE=''AMERICAN''
    NLS_TERRITORY=''AMERICA''
    NLS_CURRENCY=''$''
    NLS_ISO_CURRENCY=''AMERICA''
    NLS_NUMERIC_CHARACTERS=''.,''
    NLS_DATE_FORMAT=''DD-MON-RR''
    NLS_DATE_LANGUAGE=''AMERICAN''
    NLS_SORT=''BINARY''');
    end;

  • Recently, when I create a new album (untitled), it immediately fills with picture either from the album above it or, if I have a Faces collection open, with the pictures from that collection. Why and how do I fix it?

    Recently, when I create a new album (untitled), it immediately fills it immediately fills with picture either from the album above it or, if I have a Faces collection open, with the pictures from that collection. Why and how do I fix it?

    When a new album is created it will fill with whatever is in the right hand window,  If you're in the Events or Photos mode it will contain all photos in the library.  Yes, strange behavior.
    OT

  • When creating a table why should we give promary key

    when creating a table why should we give promary key

    Hi Rambabu,
    Primary key is needed so as to avoid duplicate entries and ensure that there are unique entries in the table.
    For some applications, it is useful to uniquely identify the rows in a table by one or more columns so that you can process them in a specified sequence, for example. You can do this by assigning a “primary key.” The column names that are to create the table key are represented by the keywords PRIMARY KEY. The input values of the key columns defined in this way must not be a NULL value.
    You can use the primary key to insert rows in a table in the same way as you insert rows in a base table when no primary key is defined. However, the system outputs an error message if you attempt to insert an existing value into the primary key column a second time, since the uniqueness of the column is ensured by defining the primary key.
    A primary key can consist of multiple columns. However, it is unusual for a key to be constructed from more than five columns, since this makes it difficult for users to enter unique values. The arrangement of the columns behind the keywords PRIMARY KEY defines the key sequence.
    Regards,
    Sekhar

  • When I try to save a new file from numbers, I'm given the error of it can't create a file. why would that be?

    when I try to save a new file from numbers, I'm given the error of it can't create a file. why would that be?

    Try using /Applications/Utilities/Disk Utility to repair file permissions.
    Bob

  • Why exchange rate is not displayed correctly when I create the PO in SRM?

    Hi Gurus,
    Yesterday I insert a new row at OB08 tx. at backend system (R/3) for exchange rate of May 17,2010, the value was 10.00. Then I run the BBP_GET_EXRATE program to replicate the info to SRM.
    But when I created a purchase order (PO) the value was 12.24 for exchange rate (this value 12.24 is the value for the previous day May 16, 2010).
    Today morning (May 18, 2010), I inserted another row at R/3 and replicated to SRM, the new value for May 18 was 11. I create another PO and the value was 10 for exchange rate (the value for yesterday).
    But when the PO is transmitted to R/3, the exchange rate is the correct.
    My question is: Why exchange rate is not displayed correctly when I create the PO in SRM? Exists an aspect of memory in SRM that it has to be refreshed? Why SRM is getting the exchange rate for yesterday? Is an issue for time zone?

    Hi Muthu,
    I'm in Extended classic.
    I already discovered what is happening. At the time of being creating the purchase order (PO), it takes the exchange rate of the delivery date of the shopping cart (SC). But when the order is authorized and tries to transmit it to R/3, it takes the exchange rate of the date of creation of the PO.
    Two checks of budget exist:
    1.- When creating PO (exchange rate date of delivery date of the SC's item)
    2.- When authorized and tries to transmit it to R/3 (exchange rate date of creation date of the PO)
    If exchange rate of delivery date of the SC is lower than exchange rate date of creation of the PO, there are cases in which it is marking budget error.
    Now my question is: It is a standard behavior? (to take different exchange rate)

  • When I create a 5 x7 canvas, why are my pictures getting cut off?

    So, I'm pretty new to Elements 12, but I do understand things about ratios and what not.  But I am still not understanding why when I create a 5 x 7 canvas, create something on it, then try to print, it either leaves space on the edges or if I do crop to fit, cuts off my image!  I am creating a completely new canvas and adding pieces to it, like text, clipart and so on.  Any help would be appreciated!

    krolgirl wrote:
    I do understand things about ratios and what not.
    krogirl,
    Check the following:
    Make sure that you have the latest drivers for your printer. You can do that on the manufacturer's web site.
    Make sure that the orientation of you file and the one selected in the print set-up are the same.. If you have a landscape oriented file, for example, go to File>print. In the dialog look for "Page Setup", and select landscape.
    Crop to 5x7 before sending it to the printer. For paper size, try 5x7 borderless,
    Please report back with your progress.

  • Any idea why in Numbers my COUNTIFS formula keeps breaking? For daycare purpose, I use a spreadsheet that helps me to count how many children I have at 3:15, 4:15 and 5:00. COUNTIFS works well when I create it but breaks after a while. Also I am using a p

    Any idea why in Numbers my COUNTIFS formula keeps breaking? For daycare purpose, I use a spreadsheet that helps me to count how many children I have at 3:15, 4:15 and 5:00. COUNTIFS works well when I create it but breaks after a while. Also I am using a pop-up menu in the cells in time format, does it have any consequence on the formula?

    Any idea why in Numbers my COUNTIFS formula keeps breaking? For daycare purpose, I use a spreadsheet that helps me to count how many children I have at 3:15, 4:15 and 5:00. COUNTIFS works well when I create it but breaks after a while. Also I am using a pop-up menu in the cells in time format, does it have any consequence on the formula?

  • Why do i get 2 curves and not just 1 when i create a diagram from a row of data in a table ?

    Why do I get 2 curves and not just i when I create a diagram from a row af data in a table ?

    Erik,
    Thank you for giving me the points.  Generally you wait to award points until your problem is solved.  It is totally your at your descretion.
    OK.
    This is still not clear.  To post a screenshot get the "stuff" you want to show in view on your screen, then type the key combination <Command>+<Shift>+3.  The cursor will change to a crosshair.  Click and hold on the top-left corner, then drag to enclose what you want to show (to the bottom-right corner), then release.  The screenshot will appear on your desktop and will be named something like "".
    Now click the camera icon in the tool bar for this forum:
    , click the text box to allow you to navigate to, and select your screenshot.
    Here is what you sent me:
    The graph does not seem to be associated with the table of data you are showing.  Generally when you highlight a graph the corresponding table will highlight and show the source of each of the series in the graph (dark and light blue).
    This is what I would expect to see when highlighting a graph:
    Right now I think there is ANOTHER table arround that is the source for the graph and the table you show is "just another table".  You can move your data into the table the graph refers to by copy and paste, or simply typing the values.  You can change how many series there are by grabbing the little circle at the bottom right of the highlighted cells (when you have the graph highlighted) and dragging as shown:
    The Numbers Users' Guide is a great resource you should utilize and can be found here:
    http://support.apple.com/manuals#macosandsoftware
    The chapter on graphing (or charting) is 7 and starts on page 134.

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

Maybe you are looking for

  • Multiple Default Values in a Multi-Select LOV Parameter?

    Hi, I have a report in BI Publisher standalone version 10.1.3.4. The report has a list of values called org_lov. This lov is attached to a multi-selection p_org_code parameter from which it is desirable to also have multiple default values. For examp

  • 1 gb of patches in feb????

    did we get 1gb of patches last night? Between Windows and Office I show 37 important ones for 1,050MB My whole network has been swamped for the last 2 hours, it looks like patching is responsible

  • ORA 03114 error

    ORA 03114 error  weblogic Forms 11g db 11g winserver 2008 64 bit

  • Send language information to ocx client

    We are running a java application server. One of the client is a c++ client (ocx). We need to send send language information to the client so it startes up with the right language defined from the server. Should the language information be stored in

  • How to get jcr Session in the workflow?

    Hi, I'm using CQ 5.6 and I would like to know how we can get jcr seession in the workflow? API: com.adobe.granite.workflow.WorkflowSession;   It doesn't have getSession() method as we have in com.day.cq.workflow.WorkflowSession. Any pointers would be