How to terminate the next job step in Background job?

Hi,
I have the requirement from the user that want to terminate the next job step in the background job that currently running (Status Active).
For example, Background Job A, contains 5 job step, once the background is running, we would like Job A not run thru job step 4 and 5, just run up to job step 3. 
Anyone have any idea how can I do that?
Thanks
Nattawat S.

Hi,
          Try to delete instead of cancel in SM37.
To cancel and active job, select the job from SM37 and Click on STOP button in application toolbar. You can refer to your other thread for more info.
Regards

Similar Messages

  • How to take the cron job log in HP UX?

    Hi,
    How to take the cron job log in HP UX
    I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
    A. Cron service is required to run jobs and tasks such as backup.
    You must login as the root to run following commands. Each user that is using the cron service must have a cron configuration file in the /var/spool/cron/crontab directory. Also users are permitted if their name appeared in /var/adm/cron/cron.allow file
    Task: Find out if cron is running under HP-UX
    Type the following command at a shell prompt
    # ps -ef | grep cron
    Open /etc/rc.config.d/cron file
    vi /etc/rc.config.d/cron
    Set control variable to 1 to enable cron: CRON=1
    Set control variable to 0 to disable: CRON=0
    Close and save the file. To start or stop cron you can type the following command:
    # /sbin/init.d/cron start <-- start cron
    # /sbin/init.d/cron stop <-- stop cron
    Task: HP-UX Start cron service
    If cron is not running, simply type:
    # cron
    Task: Edit / create cron jobs
    Type the following command to submit a cron job:
    # crontab -e
    List your cron file:
    # crontab -l
    Backup all your cron jobs:
    # crontab -l > ~/backup.cron.jobs
    Remove ALL cron job:
    # crontab -r
    Task: Crontab file format
    Cron file format is as follows:
    MIN HOUR DATE MONTH DAY /PATH/TO/COMMAND
    0-59 0-23 1-31 1-12 0-6 /root/scripts/backup2tape.shEasy to remember crontab file format:
    * * * * * command to be executed
    | | | | |
    | | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
    | | | ------- Month (1 - 12)
    | | --------- Day of month (1 - 31)
    | ----------- Hour (0 - 23)
    ------------- Minute (0 - 59)To run /root/script/backup at 23:00, every day, enter:
    # crontab -e
    Append following
    0 23 * * * /root/script/backupRun foo job very weekday (MON-Fri) at 6am, enter:
    0 6 * * 1-5 /root/script/backupFor more information refer to cron and crontab man pages.
    Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.
    Related Other Helpful FAQs:
    What is Cron?
    Linux Start and stop the cron or crond service
    Run crontab Every 10 Minutes
    Linux / UNIX Setup and run php script as a cron job
    Stop Ubuntu / Debian Linux From Deleting /tmp Files on Boot
    Discussion on This FAQDavid Says:
    January 15th, 2008 at 12:21 am
    You might note that all files normally found in /etc/init.d, /etc/rc*.d, and others are all in /sbin in HP-UX 10.20 and up.
    Note too that your formatting is off in the description of the /etc/rc.config.d/cron file. Also, if you run /usr/bin/cron instead of /sbin/init.d/cron start, the /etc/rc.config.d/cron file is not used.
    Regards,
    Satya

    I guess it would :)
    btw, how did this piece miss from the contents pasted by the OP ?
    The doc has given all details of CRON and missed where to see the logfiles. :)
    ****Added****
    I tried man crontab in windows, i dont see it.i overlook most of the things, i would have done the same ;)
    Edited by: Bobcatalog on Oct 23, 2008 9:40 AM

  • How to schedule the back job scheduling

    how to schedule the back job for bdc , can we use it for both call transaction and session method . how to schedule the back job schedulinng for lsmw

    hi,
    Use t-code SM36 for scheduling.
    <b>Do reward.</b>

  • How to stop the v3 jobs?

    how to stop the v3 jobs?

    Goto SM37... Give Job Name as LIS. User  *.
    Enable Scheduld, Released and Active Check boxes...execute.
    check job belongs to your Application.
    You cancel the Active Job if you stop the Job.
    or
    You can make Released Job to Scheduled (Menu option Job --< Released --> Scheduled.).
    Hope this helps.
    Nagesh Ganisetti.

  • How to get the next FACTORYDATE

    Hello all,
    Can somebody show me how to get the next (FACTORYDATE) from SAP in the objective to check and validate the shipto date in the ISA b2b application.
    Thanks in advance.

    Hi Manuel,
    my email: [email protected]
    thank you in advance,
    Djamel.

  • How to create the Cash Flow  step by step?

    How to create the Cash Flow  step by step?

    Run S_ALR_87012271 (menu path A/C-FA-GL-Info System- GL Reports - BS/PL/Cashflow-general-cash flow)
    In the screen enter the year & Company code, & execute. you will reach to another screen.
    Click on the "FORM" & you will reach another screen having various forms. The form related to Cash flow is already highlighted.
    Go to EDIT-General Data Selection - Change the financial statment version pertaining to your company
    Then, click on each line item in the form which is being displayed and enter corresponding GLs.
    Save it & execute S_ALR_87012271
    Hope this solves your problem.

  • How to get the Next Material Document Number

    Hi,
    Please let me know How to get the next Material Document Number using Functional Module,
    Material Document number are  in MSEG table.
    Regards,
    Ganesh

    Hi Ganesh,
    if you want the next matrial number then first of all you have to define it as a number range in transaction snro.After creating the number range you have to define the interval.
    now you can use your number range by calling the function module
    CALL FUNCTION 'NUMBER_GET_NEXT'
          EXPORTING
            nr_range_nr             = '01' " here you have to give the number range number which you have defined in number range
            object                  = 'ZPRODLOG' " Number Range
          IMPORTING
            number                  = wa_prod_error_log-seqnr " sequence number generated,in your case material number field
          EXCEPTIONS
            interval_not_found      = 1
            number_range_not_intern = 2
            object_not_found        = 3
            quantity_is_0           = 4
            quantity_is_not_1       = 5
            interval_overflow       = 6
            buffer_overflow         = 7
            OTHERS                  = 8.
    each and every time next number will get generated .
    i hope this will help you.
    Thanks,
    Tanmaya

  • How to identify the related job, after sheduling a infopackage?

    Hi,
       Anybody explain that how to identify the related job after scheduling a infopackage in the BW system?

    Hi Aditya,
    Goto SM37->Search Job BI_BTCH*
    Job Prefix.
    http://help.sap.com/saphelp_nw70ehp1core/helpdata/en/da/0318025d64a84b94542641ed77ee74/content.htm
    Hope it helps.
    Thanks and Regards,
    MuraliManohar.
    Edited by: Muralimano on Jun 5, 2011 9:38 AM

  • ZENCast Update - How long till the next o

    Any idea how long till the next ZENCast update?
    I am still waiting to be able to transfer MP3 files to my ZV:M from inside the program with out it converting them to a Motion JPEG.
    Imagine a podcasting program that can't transfer MP3s to the device it was made for. Crazy I know. I don't want to try the sync stuff again. That never worked for me. I just want to click transfer, decide what I want to copy over, and be done with it.
    There are a lot of nice features I would like to see in it, like adding the recently transfered MP3s to a playlist (say, 'New ZENCasts' (which I currently do manualy)). But the simple ability to tell ZENCast Orgainser (I am an Aussie, we spell it with an 's') not convert MP3s to MJPEG, and just copy them over would be great.

    This still does not address the original message.
    Will there be a way in zencast to transfer an audio cast in it's nati've format into the zen vision:M as it's nati've format, i.e. as an MP3 and not an AVI containing MJPEG?

  • PURCHASING-How to change the next approver for the Purchase Requistion(PR)-

    Hi All,
    Could you please let me know how to change the next approver for the Purchase Requistion(PR) from User "X" to "Y", as Y was manager of "X" and 'X' left the organization. how can i acheive this? can you please let me know the process ?
    Thanks,

    Hi,
    You have not mentioned the version you are using (11i or R12).. Are you using iProcurement... ? Are you using positional or Employee-Supervisor hierarchy..?
    Your question : How to change the next approver for the Purchase Requistion(PR) from User "X" to "Y", as Y was manager of "X" and 'X' left the organization.
    Ans: You can achieve this through below workarounds
    - Through *"Mass Update of Requisitions" functionality* (Conc. request) you can update the Approver name from User "X" to "Y" for existing PRs.
    - Replacing the Supervisor name of the requestor/requisitioner in the HR record (assignment) from User "X" to "Y"..
    Hope it helps.
    Kind Regards,
    S.P DASH

  • TA48312 i have mac os x version 10.4.11 i have no idea how to get the next update because my computer wont do it on its own.

    i have mac os x version 10.4.11 i have no idea how to get the next update because my computer wont do it on its own.

    10.4.11 is as far as you can go with Tiger.  You have to pay for the next update.  It is not available via Software Update.  Depending on which Mac you have, it can be Leopard, Snow Leopard, or Lion.

  • How to use the place call step in the script

    I am new to uccx and the document does not explain alot for me related to this step so much.
    In the destination field : i use a  variable of string that matched before.
    The call contol group id : i use the integer of 2 ,the same as configured in the call control group number on UCCXadmin page.
    Dialog group: the same as call control group id.
    Here is my problem,the call contact field.
    If i create a variable of contact with value null and choose it in the contact field of the place a call.
    Call is not placed to the extension.
    Also with reactive debug : i see that this field should get filled with a value to make the call works,but i don't know how to use it.
    Thanks in advance.

    1. I'm not sure what you are asking.  Do you want to enter in all of the holidays for the next 10 years?
    2. For this specific date literal example, you can find it in the scripting volume 3.
    Here is the excerpt from the documentation on date literals:
    Date Literals
    The date literal is always of type Date. The following are the  different syntax formats you can use to enter a date.
    DateLiteral:
         DateDeclarator [n o w ]
         DateDeclarator [DateDesignator TimeDesignatoropt]
    DateDeclarator [ DateDesignator TimeDesignatoropt ]
    DateDeclarator: one of
         d D
    DateDesignator:
         FullDatePattern:
                Defined by the pattern "EEEE, MMMM d, yyyy"
         LongDatePattern:
                Defined by the pattern "MMMM d, yyyy"
         MediumDatePattern:
                Defined by the pattern "MMM d, yyyy"
         ShortDatePattern:
                Defined by the pattern "M/d/yy"
    TimeDesignator:
         FullTimePattern:
                Defined by the pattern "h:mm:ss a z"
         LongTimePattern:
                Defined by the pattern "h:mm:ss a z"
         MediumTimePattern:
                Defined by the pattern "h:mm:ss a"
         ShortTimePattern:
                Defined by the pattern "h:mm a"
    Example Date Literals:
    D[12/13/52]
    D[Dec 13, 1952]
    D[Thu, July 4, 2002]
    D[July 5, 2002]
    D[July 7, 2002]
    D[7/6/02]
    D[Thu, July 4, 2002 5:59 PM]
    D[July 5, 2002 5:59 PM]
    D[July 7, 2002 5:59 PM]
    D[7/6/02 5:59 PM]
    D[Thu, July 4, 2002 12:23:59 AM]
    D[July 5, 2002 12:23:59 AM]
    D[July 7, 2002 12:23:59 AM]
    D[7/6/02 12:23:59 AM]
    D[Thu, July 4, 2002 12:23:59 AM CST]
    D[July 5, 2002 12:23:59 AM CST]
    D[July 7, 2002 12:23:59 AM CST]
    D[7/6/02 12:23:59 AM CST]
    D[now]
    Details for the date and time patterns are available in the  documentation of the java.text.DateFormat class. If the string now is used, then  the literal corresponds to the current date in the server's default timezone at  the time the literal is evaluated for the first time.
    Each date literal is a reference to an instance of class  java.util.Date.
    Copyright © 2002-2010, Cisco Systems, Inc. All rights  reserved.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • How to change the user of a cancelled background (batch) job?

    Hi All,
    I have a batch job which is being cancelled as the reference user account is locked. I want to update the job with a new user.
    How can I change the user for a cancelled job? I am able to change the user for a scheduled job (by right clicking the job >> Change) but not for a cancelled job.
    I am getting the error: "<<Job Name>> cannot be changed due to its status" when trying to change the cancelled job.
    Please help.
    Thanks
    Vijay

    Hi Vijay,
    change the user of a cancelled background (batch) job
    1) Goto <b>SM37</b>
    2) Select the cancelled job and goto menu bar select <b>Job</b> )&#61664; click on change.
    3) Click on step tab
    4) Select the job and click on change tab. Change the user name and save.
    regards,
    kanthi

  • Wait for Event in Fork - How to terminate the wortkflow in leg 2

    Hi Experts,
    My scenario is that there is a fork with 2 branches. 1 has a change Doc method. In this I have raised an enent when a action is performed which in turn calls a wait for event in other leg. The problem is that the other loop is executing but the workflow is not coming out of leg 1. The work item remains in the agents workplace.
    How to correct this?
    Thanks,
    Dinesh

    in the FORK step you have an option of mentioning the "necessary steps".
    it defines the minimum number of legs of the FORK step that must be completed before proceeding to the next step in the WF.
    mention the necessary step as 1 for your case.

  • How to terminate the Sequence Test?

    Hi,
    Our production personnel complain that they can not terminate the test sequence when they spot some failures and wish to stop the test.  The only way I know how to do it is to put a stop on a step and then when TS does not run I can terminate the test.
    What is your recommendation for implementing a better way for termination?
    Thanks
    Rafi

    Hi Rafi,
    Here is some example code for using the execution termination monitor.  You will want to place this in your code periodically to look for possible termination requests.  This was an example written to demonstrate how you would exit out of an infinite loop with the termination monitor.
    CAObjHandle exec = 0 ;
        int error = 0;
        int i = 0;
        VBOOL term;   
        CAObjHandle MON = 0;
        //getting the execution object from the sequence context which was passed from TestStand
     TS_SeqContextGetExecution (seqContextCVI, NULL, &exec);
     //initializing the termination monitor and setting up  MON to be the monitor data
     TS_ExecutionInitTerminationMonitor (exec, NULL, &MON);
        //creating an infinite loop that will end if the termination monitor status is set to TRUE
        do
     TS_ExecutionGetTerminationMonitorStatus (exec, NULL, MON,
                CA_DEFAULT_VAL, &term);
        while( term == VFALSE);
    Error: 
        // FREE RESOURCES
        // if (lastUserName != NULL)
        //     CA_FreeMemory(lastUserName);
     CA_DiscardObjHandle(exec);
     CA_DiscardObjHandle(MON);
    I hope this helps.
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

Maybe you are looking for

  • Safari will not open after deleting bookmark file

    I have a new Imac with 16GB Ram and 2TB hard drive.  I have been getting messages that: Your Mac OS X startup disk has no more space available for application memory.  To avoid problems with your computer, quit any applications you are not using.  Cl

  • How do I get iWeb to publish just the files to my root directory

    Hey all, when I publish my site to my hosting server via iWeb it's just copying the entire folder into my root directory instead of copying the files to the root directory. This is causing my site url to look like this: www.mysite.com/myfolder/ how d

  • Can CC be installed on laptop and desktop

    I do most of my editing on my desktop, but would like to have access occasionally on laptop, especially when traveling. Can it be installed and work on both devices?

  • SHDSL routers for Point to Point Connectivity

    Could please light me what is best option for SHDSL point to point connectivity. Alos please comapre the WAN interface card below which should I choose for SHDSL connection: Cisco 1-Port G.SHDSL WAN Interface Card (part number WIC-1SHDSL-V3) Cisco 2-

  • How to minimize a VI to the task bar upon calling it

    I'm trying to find a way to automatically minimize a VI's front panel to the Windows task bar after calling it from another VI. Thanks in advance for your assistance. -Tom