Cancelling PeopleSoft job if running longer than max time

We have some PeopleSoft jobs that we want Tidal to automatically cancel if they are still running after 2 hours, then automatically set the job to Completed Normally so the next job in the jobstream will start running.  We tried using a Job Event triggered by "Job running longer than its maximum time", with Selected Action = "Set To Completed Normally".  The problem is that it sets the job to completed normally on Tidal, but the job continues to run on PeopleSoft.  In other words, it's not cancelling the job.
Next, we changed the Selected Action to "Cancel/Abort".  This worked in terms of cancelling the job on PeopleSoft, but we can't figure out how to automatically set the job to Completed Normally on Tidal after the job is cancelled.  There is an Event Trigger for "Operator cancelled the job", but apparently the event isn't triggered if Tidal cancels the job.  We also tried using Event Trigger = "Job completed", but that didn't work either since apparently Tidal doesn't consider a job in Aborted status as completed.
Anyone have any other ideas on how to automatically cancel a PeopleSoft job and then automatically set the Tidal job to Completed Normally?  Thanks.

Hello Richard,
I would use the sacmd (windows) or the tesmcmd(Unix) to interact with the given job so to set it to whatever status you want ;
- You have to first let the event Cancel/Abort it if running longer than expected by using the built in function (Cancel)
- Then using the same event you need to trigger another job action that has the above tesmcmd command to set the job to Normally completed; for this you may need to create a new job that calls the tesmcmd/sacmd and then use jobset command.
now you need to create a job action that triggers that job which will allow you to override the command parameters especially the RunID of your failed job.. hope i was able to get it right unless if you already figured that out.
-rami

Similar Messages

  • Token longer than max allowable length of 258 chars

    Hi all,
    i tried to apply a sql case statement in sql loader control file in " " the load succeed with 258 chars case or decode statement but when i add more cases it return
    sql loader 350 token longer than max
    LOAD DATA
    INFILE 'F:\Vou\vou20110613_102_951454.unl'
    BADFILE 'F:\Vou\vou.pad'
    DISCARDFILE 'F:\Vou\vou.dic'
    replace
    INTO TABLE vou_test_2
    FIELDS TERMINATED BY '|'
    TRAILING NULLCOLS
    (SERIALNO,TIMESTAMP "to_date(:TIMESTAMP,'yy/mm/dd hh24:mi:ss')",BRANDID,SUBCOSID,CHARGINGPARTYNUMBER,PAYTYPE,VOUCHERPINNUMBER,VOUCHERBATCHNUMBER,VOUCHERSEQUENCE,VOUCHERCOSID,VOUCHERSPID,CARDFACEVALUE,CARDVALUEADDED,CARDVALIDITYADDED,TRADETIME "to_date(:TRADETIME,'yy/mm/dd hh24:mi:ss')",OPERATEDBY,THIRDPARTYNUMBER,ACCESSMETHOD,TRADETYPE,RECHARGEAREANUMBER,TRANSITIONID,VOUCHERENCRYPTNUMBER,Location_Number,RESERVED2,RESERVED3,PRODUCTID,SERVICETYPE,OLDUSERSATE,CURRENTUSERSATE,PREVIOUSACTIVESTOP "to_date(:PREVIOUSACTIVESTOP,'yy/mm/dd hh24:mi:ss')",NEWACTIVESTOP "to_date(:NEWACTIVESTOP,'yy/mm/dd hh24:mi:ss')",SUSPENDSTOP "to_date(:SUSPENDSTOP,'yy/mm/dd hh24:mi:ss')",DISABLESTOP "to_date(:DISABLESTOP,'yy/mm/dd hh24:mi:ss')",VALIDITYADDED,REWARDCYCLES,REBATEPRODUCTID,BILLCYCLEID,SUBSCRIBERID,RESERVED4,RESULTCODE,ACCOUNTID,RECHARGETAX,RECHARGEPENALTY,CURRENCYCODE,RESERVED5,PREPAIDBALANCEBEFORE,RECHARGEFORPREPAID,PREPAIDBALANCE,POSTPAIDBALANCEBEFORE,RECHARGEFORPOSTPAID,POSTPAIDBALANCE,ACCOUNTTYPE1,REWARDAMOUNT1,CURRENTACCTAMOUNT1,ACCOUNTTYPE2,REWARDAMOUNT2,CURRENTACCTAMOUNT2,ACCOUNTTYPE3,REWARDAMOUNT3,CURRENTACCTAMOUNT3,ACCOUNTTYPE4,REWARDAMOUNT4,
    CURRENTACCTAMOUNT4,ACCOUNTTYPE5,REWARDAMOUNT5,CURRENTACCTAMOUNT5,ACCOUNTTYPE6,REWARDAMOUNT6,CURRENTACCTAMOUNT6,ACCOUNTTYPE7,REWARDAMOUNT7
    ,CURRENTACCTAMOUNT7,ACCOUNTTYPE8,REWARDAMOUNT8,CURRENTACCTAMOUNT8,ACCOUNTTYPE9,REWARDAMOUNT9,CURRENTACCTAMOUNT9,ACCOUNTTYPE10,REWARDAMOUNT10,
    CURRENTACCTAMOUNT10,BONUSVALIDITY1,BONUSVALIDITY2,BONUSVALIDITY3,BONUSVALIDITY4,BONUSVALIDITY5,BONUSVALIDITY6,BONUSVALIDITY7,BONUSVALIDITY8,
    BONUSVALIDITY9,BONUSVALIDITY10,PREVIOUSSUSPENDSTOP "to_date(:PREVIOUSSUSPENDSTOP,'yy/mm/dd hh24:mi:ss')",
    PREVIOUSDISABLESTOP "to_date(:PREVIOUSDISABLESTOP,'yy/mm/dd hh24:mi:ss')",AGENTNAME,ADDTIONALINFO,FILE_TIME,FILE_NAME,
    ODATE "SYSDATE",ACCOUNT_2001 "CASE WHEN:ACCOUNTTYPE1='2001'THEN :REWARDAMOUNT1 WHEN :ACCOUNTTYPE2='2001' THEN :REWARDAMOUNT2
    WHEN :ACCOUNTTYPE3='2001' THEN :REWARDAMOUNT3
    WHEN :ACCOUNTTYPE4='2001' THEN :REWARDAMOUNT4
    WHEN :ACCOUNTTYPE5='2001' THEN :REWARDAMOUNT5 END")
    the above one succeed when i edit the case statement as follow
    ACCOUNT_2001 "CASE WHEN:ACCOUNTTYPE1='2001'THEN :REWARDAMOUNT1 WHEN :ACCOUNTTYPE2='2001' THEN :REWARDAMOUNT2
    WHEN :ACCOUNTTYPE3='2001' THEN :REWARDAMOUNT3
    WHEN :ACCOUNTTYPE4='2001' THEN :REWARDAMOUNT4
    WHEN :ACCOUNTTYPE5='2001' THEN :REWARDAMOUNT5
    WHEN :ACCOUNTTYPE6='2001' THEN :REWARDAMOUNT6
    WHEN :ACCOUNTTYPE7='2001' THEN :REWARDAMOUNT7
    WHEN :ACCOUNTTYPE8='2001' THEN :REWARDAMOUNT8
    WHEN :ACCOUNTTYPE9='2001' THEN :REWARDAMOUNT9
    WHEN :ACCOUNTTYPE10='2001' THEN :REWARDAMOUNT10 END"
    i got the Error sql loader 350 token longer than max allowable length of 258 chars .
    note : i cant modify the table structure to shorten the column names .
    please help me ....
    thanlks
    Edited by: user7998081 on Jun 23, 2011 3:24 AM

    Ron Gittleman (guest) wrote:
    : In migrating a Sybase 11 database to Oracle 8.0.5, there's a
    : step toward the end of the data-moving endeavor in which a
    script
    : called genctl.scr is executed. This creates control files for
    : 'sqlload'. For one-third or so of the source tables (.dat
    files)
    : sqlload complains about the control file:
    : SQL*Loader-350: Syntax error at line 20.
    : Token longer than max allowable length of 258 chars
    : in_paid_period,15,6)

  • HT2479 In iMovie is it possible for the music track to run longer than the video?

    In iMovie is it possible for the music track to run longer than the video? e.g. for there to be a short video clip playing during the intro to the song and then the song to continue to play in full once the video has finished?

    Yes. Just drag your music in from iTunes or wherever and the timeline will auto increase to the full length of the music track. Like this:

  • How to schedule a job to run only in a  time window

    Hi,
    I need to schedule a job to run every day but sundays from 7am to 6pm. I managed to get it to start at seven like this
    FREQ=WEEKLY;BYDAY=TUE,WED,THU,FRI,SAT;BYHOUR=7;BYMINUTE=0;BYSECOND=0
    how can I set the job to stop at 6pm?
    thanks in advance

    Yes, as far as I could tell you create a resource plan to allocate processor resources, assign a resource plan to the window, then assign the job to a job class which is in turn assigned a resource group within that resource plan. Then when the window is active, it sets the active resource plan for the database so the job will run using this until the window deacivates the resource plan. Unfortunately because the resource plan is database wide, it means you could only really have one time window active at any one time within which to run jobs, I don't think two windows could overlap.
    Easier to work within jobs, but its a shame the job doesn't end itself, rather than having to have the second job, although the second job does enable you to engage in some communication between jobs to cleanly end it, rather than stop it dead. I have a job that runs until a set time each day, but it just works on a loop that sleeps for a few minutes each time, checking for file arrival and processing it, and sending a notification e-mail if it reaches its end time without the file arriving.

  • Job running longer than usual.

    Hi Sappers!!
    We have a job that runs everyday at 1:00 AM for about 2-3 hours. This job, which started at around 1:00 AM today is still running. Its been over 14 hours now.
    Job Description:
    Extract of open A/R items from table BSID with corresponding data from customer master records, billing document data, and cash application data. Sent to the GetPaid application database daily.
    Would appreciate any pointers on this issue!
    Thanks for your time!

    VR,
    Since you haven't mentioned a t.code, I'm assuming it's a custom report / program.
    There could be far too many thing that could have gone wrong with a custom program to even warrant a mention in this forum. However, suffice to say that a suitably smart ABAP-er can try adn debug the batch job. You can do this by going to t.code SM50, select the PID for your job, and go to "Program/Mode --> Program --> Debugging".
    You can then analyze what is stopping the job / causing it to run so slow.
    Trust this helps.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • CFHTTP running longer than Timeout specified

    I'm using ColdFusion 5 and specifying a timeout=2 on the CFHTTP tag.   I'm doing an HTTP Get on a remote site, grabbing an XML feed.
    Somestimes the CFHTTP runs much longer than the 2 second timeout I've specificed on the <cfhttp> tag.  I thought the  timeout parameter was the max time the CFHTTP would execute. 
    We really need to be able to stop the CFHTTP at the timeout we specify, and not allow it to continue processing and hold  up the page.
    Can anyone help with this?

    Is it any <cfhttp> call that's doing this, or a specific one?  Well: I mean any <cfhttp> call that takes longer than 2sec, obviously ;-)
    Can you post some code to replicate this (with a real URL for the <cfhttp> call).
    I'm not sure I can get CF5 running on my machine, but I'll give it a whirl.  I think I have a CF5 installer lying around somewhere..?
    Adam

  • My Mac seems to be running slow, and what I call the rainbow wheel runs longer than I think it should.

    My Mac seems to be running slow, and what I call the rainbow wheel, runs much longer than I think it should.

    Step by Step to fix your Mac
    Why is my computer slow?
    Most commonly used backup methods
    If you get pinwheels when off the Internet, it coudl be a failing boot drive or just a few bad sectors as it has a hard time reading from it.
    This is a possible cure, it's a lot of work though.
    Reducing bad sectors effect on hard drives
    How to erase and install Snow Leopard 10.6

  • Jobs running different than scheduled time

    Hi All'
    I have 10g(10.2.0.2) database in linux,It is in Austin.
    Recently the jobs scheduled are running on different than scheduled time.
    And time in EM and the date command in linux also showing different.
    $ date
    Wed Oct 31 03:59:01 CDT 2007
    and the same time EM showing 2:59:42 AM
    And some of the jobs are failing also.
    I checked the following
    SQL> select sessiontimezone from dual;
    SESSIONTIMEZONE
    -05:00
    SQL> select dbtimezone from dual;
    DBTIME
    +00:00
    can anybody please give the solution
    Thanks in advance,
    saf

    There are a number of threads in this forum which deal with this type of issue:
    Re: changing SO hour - problem to run a scheduled job
    did it start on Oct 28th ? It may be a DST issue. Lookup in metalink 402742.1.

  • Running more than one time machine back up drive

    I have a back up drive assigned as my offices time machine back up drive.
    I need to set up an off site back up drive too. I know that time machine will only allow a connection to one back up destination at once.
    What problems could i encounter if i set up a off site drive as another time machine drive, disconnect on site drive and connect the off site drive to back up.
    Thanks

    That will work just fine, other than the hassle of having to tell Time Machine every time you swap.
    Give the drives at least slightly different names (that's for you; Time Machine knows they're different).
    Each set of backups will be complete and independent. When you do a backup to either one, it will contain all the changes you've made since the last backup +*to that drive.+*
    The first backup after a swap may take a bit longer than usual, as there may be more changes to "catch up" with, but otherwise there should be no troubles.

  • Schedule job to run daily at specific times

    Hello,
    Not sure if this is the correct forum to post my question. If not, please advise which forum to use.
    How can I setup a background job which runs daily day, but only runs between a specific time?
    Our request is to have a job to run daily between 0700 - 1700 - then end and restarts again at 0700 the next day. How can we do this?
    Kind regards

    Check this
    https://forums.sdn.sap.com/search.jspa?threadID=&q=backgroundANDjobANDschedule&objID=f50&dateRange=all&numResults=15
    PS Please make a search this forum before posting

  • MOSS 2007 Search - Crawling is taking longer than usual time since last month for same content sources

    Hi all,
    Off late we have discovered that content crawling is taking longer than expected also overlapping to next scheduled too. Literally no crawl logs seen for hours. No entry in crawl logs. Is there anyone out here having similar issue? Please share a solution
    if any found.
    My farm is implemented with MOSS 2007 SP2 Ver no 12.0.0.6554
    There is not packet drop between index server, App and SQL server/Cluster
    Thank you in advance,
    Reach Ram
    Ramakrishna Pulipati SharePoint Consultant, Bangalore, INDIA

    I believe this is ready for submission for the Time Machine forum.
    As noted, it does not cover diagnosis and correction of specific problems or errors, as that would seem to be better handled separately.
    It also doesn't cover anything about Time Capsule, for the very good reason that I'm not familiar with them. If someone wants to draft a separate post for it, or items to add/update here, that would be great!
    Thanks very much.

  • Script to find concurrent job that ran long within a time range

    Oracle Apps:12.1.1
    DB:11.1.0.7
    OS:Linux RedHat 86x64
    All,
    Could anyone please share the Script to find concurrent job that ran long in a particular day say between 3pm - 4pm in an hour's time range specifically.
    Thanks for your time!
    Regards,

    try
    SELECT request_id,     
           to_char(actual_start_date, 'dd-MON-yy hh24:mi:ss') begin_dt,
           to_char(actual_completion_date, 'dd-MON-yy hh24:mi:ss') end_dt,
           substr(to_number(((actual_completion_date - actual_start_date) * 24) * 60),
                  1,
                  5) time_in_min,
           program      
      FROM fnd_conc_req_summary_v a
    WHERE (
           actual_start_date >  to_date('30-11-2011 08:00', 'dd-mm-yyyy hh24:mi')
              and
           actual_start_date <  to_date('30-11-2011 08:00', 'dd-mm-yyyy hh24:mi'))
           )

  • Mac can't run longer than 4-10 hours

    A half year back my motherboard melted (don't know if this is the right word but I think you know what I mean). I got it fixed and also updated my RAM memory. Since it have got it fixed it has been having a weird problem that I can't seem to fix. After my mac has been on for somewere around 7 hours programs get long loading times. This is a sign for me to restart because if I dont:
    A. my mac freezes.
    B. I get a "pop-up" message that tells me to restart.
    C. It freezes and there comes a error log on top of the screen.
    D. It gets stuck on one program and that top left of the menu bar freezes. If I quit that program the dock and the menu bar disappear.
    Most of the time it's C. This is getting really annoying and I tried everything to fix it: Got a new drive, reinstalled leopard and some various programs. I hope that someone can help me.

    REMBER log:
    Test Results
    All tests passed!
    Total built-in memory: 3 GB
    This is the total amount of physical memory that the computer has installed. If this figure is not showing the correct amount of memory there may be a problem with one or more installed DIMMS.
    Available memory: 1662 MB
    Available memory is the amount of physical memory that is currently not in use by any other processes. All available memory will be used for testing when the "All" option is selected. To increase the amount of available memory, you can restart your computer before testing. If you are familiar with the command line (CLI), you can run memtest (the core of Rember) in single-user mode. See Rember help, or http://www.memtestosx.org for more information.
    Requested amount: All MB
    The total amount of memory requested for testing by the Rember application. Not all requested memory can be allocated for testing. See information on "Available memory" for more information.
    Memory allocated for testing: 1616 MB
    This is the total amount of memory that memtest was able to allocate for testing. See "Available memory" section for more information.
    Loops selected: 1
    Total loops selected by user for testing. All loops should complete when testing is successful. Test failure when the "Continue on Error" preference is selected will cancel tests before this number of loops has been completed. Users can also cancel testing before this number is reached.
    Loops completed: 1
    Total loops completed by memtest. Note that the Rember is not always able to identify how many loops ran. If there are discrepancies between this and the loops selected, the log should be examined to determine exactly how many loops were performed.
    Total execution time: All tests passed! Execution time: 4738 seconds
    This is the total amount of time that it took to execute the selected tests. Execution time may vary from system to system, and is provided as a guide for determining how long users can expect tests to run based on the amount of memory installed on the system.
    Testing start time: 2010-02-02 20:17:59 +0100
    Testing end time: 2010-02-02 21:37:02 +0100

  • DTP running longer than usual

    Hi Experts,
    We have 2 DTPs (Master Data) that run everyday through a process chains in delta mode. The data that is picked from PSA comes through a infopackage which is a full load. Usually, the DTPs processes just the new full load that comes everyday in the PSA which gets done in 15-20 mins. For some mysterious reason, instead of processing just the new load, it randomly processed the previous loads (not all) and took almost 6 times the time to finish it.
    Nothing was changed in the last few days neither in DTPs nor in Infopackage. If somebody can guide us what caused it, we would really appreciate that.

    Hi
    see if you had deletion of PSA table step in process chain which is recently removed.
    its always good idea to delete older PSA table data specailly in case of full loads.
    Regards
    Sudeep

  • LabWindows/CVI timer runs faster than system time in multithreaded application on Win 2000

    The same application runs well on Win NT

    This is a rarely seen and unconfirmed problem that you are seeing with the Timer function. I have posted some information as well as another Developer Exchange user posting a workaround at the following link that you should take a look at:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HExpertOnly=&HFORCEKWTID=11348:5&HOID=506500000008000000AE1F0000

Maybe you are looking for

  • I lost my iphone 4 white yesterday (june 21st, 2011)

    On June 21st, 2011, I lost it at Fair oaks Mall in Fairfax, Virginia in Forever 21 store around 6:15-6:30pm. While I was trying on rings, I placed it on the table next to me, and when I realized my phone was gone after I purchased my items it was alr

  • Problems signing in to my OVI Account

    Anyone else experiencing problems signing into their OVI account? I have not been able to sign in all day. I can log into my Nokia account no problems, however, each time I try and view my sync'd contacts, I am prompted to sign in again, and when I d

  • ODI 11g "webtier_win_11.1.1.2.0_32_disk1" install failure (webcache1)

    Setting: test lab, Windows Server 2008, x86, sql server 2008 x86, ODI 11g. Goal: set up new "clean" ODI 11g install in lab Issue: Installation of "ofm_webtier_win_11.1.1.2.0_32_disk1_1of1" fails during "Configuration Progress". Error message in UI is

  • Where is the "variations" feature in photoshop for adjusting color?

    where is the "variations" feature in photoshop for adjusting color?

  • Aggregate Functions in SELECT

    Hi Friends,   Is it possible to have an aggregate function while using Inner join and GROUP BY? Its not working for me. Prompt replies would be rewarded. Thanks in advance. Regards Tamilarasan. Message was edited by: Tamilarasan Lakshmanan