Hi Niranjan,
I already got how to configure this. However, I am getting the below message when submitting the main chain:
Hi Niranjan,
I already got how to configure this. However, I am getting the below message when submitting the main chain:
JCS-102064: Job 921291 (submitted from System_Sleep copy from 2014/11/14 JCS-102064: Job 921291 (submitted from System_Sleep copy from 2014/11/14 JCS-102064: Job 921291 (submitted from System_Sleep copy from 2014/11/14 |
Hi Gerben,
Is this the exact thing I should put? => Time.expressionNow('add 5 minutes')
Also, I tried system_sleep but getting the below message:
JCS-102064: Job 921291
(submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Job) to an object in an
isolation group
JCS-102064: Job 921291
(submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Chain Step) to an object in
an isolation group
JCS-102064:
Job 921291 (submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Parent Job) to an object in
an isolation group
Appreciate any advice. Thanks.
Angelo
Dont forget the =, like in Excel:
=Time.expressionNow('add 5 minutes')
Regards Gerben
Thanks Gerben. It's working fine. I think I will use this instead of the system_sleep as I'm getting errors there. Do you have any guide for the time expression parameters?
Let's say for 10 sec delay, will it be ('add 10 seconds')?
Just the format of the parameters (seconds, hours, or any possible value).
Thanks a lot. Appreciate your usual support.
Angelo
Hi Gerben,
This worked earlier. But now, it's giving me the message below:
JCS-102319: Cannot locate time window with name: 2016/04/06 11:51:00,771
Asia/Dubai
Can you pls suggest what I am doing wrong? Thanks.
Angelo
Hello All,
When I try to create a Time Windows I receive this error message by pressing the "save" button.
CS-103045: Privilege 'create' on object 'Time Window <Partition Not Set>.GB_Time_Windows' is required to perform this operation
JCS-102074: Field Partition on Time Window <Partition Not Set>.GB_Time_Windows must be specified
This is my first object time window that I'm trying to define. I have set a value for these fields:
Tag [Time Window]
Name
Description
Tag [Elements]
and from
until the
Tag [Opens At]
set the number of the day (for example 1) and pressed the icon.
What is the meaning of "Partition" in Redwood?
Any help will be greatly appreciated.
Thanks in advance for your kind support.
Regards,
Giovanni
Hi Giovanni,
The error is stating that you do not have full access to create Submit/Time windows.
Per SAP CPS Administration Guide
You need one of the following:
You need one of the following privilege ranks to be able to create time windows:
You also require View privileges on the partition of the time window.
To successfully edit a time window, you have to have one the following privileges:
You also require View privileges on the partition of the time window.Time windows can reference the following objects, you need at least View privileges on these objects and their partition(s) when you want to edit a time window that references them:
Regards
Rick
It looks like your mail client eats up the new lines.
You can make the full email html by starting the email with
<html><body>
first line<br>
second line
</body></html>
Regards Gerben
Hi everybody,
I need to have a report or SQL that will take an ABAP program name as a parameter and return the job chain(s) it is called by. I have not been able to figure out how to link the necessary files together. As far as I can tell this involves these files: JobChain, JobChainStep, JobDefinition, SAPAbapProgram. But I am having trouble figuring out which fields to match on between files. Or is there a file that links all of these together?
Thank you in advance.
Thanks S.Oms for the reply. Unfortunately we are still on version 8 (hoping to upgrade soon) so I have to do this the old way.
Hi,
I am needing to import a BOBJ report and was going to use the SAP_BOBJ_ImportReportDefinitions job. Can someone tell me if that is the correct method? If so, how do I input the report path?
Any guidance for this will be greatly appreciated.
Best Regards,
Rick
Hi Giovanni,
You should edit the Job Chain, located under Definitions not in job monitor.
When you are in edit mode, you will get the edit options for status handlers when you select the step.
thanks
Nanda
Hi Patrick,
I have noticed significant problems with chrome and IE in past.
Firefox has consistently worked well, without any problems.
thanks
Nanda
Create an incident with SAP, they should be able to provide a simple patch(not upgrade to BPA) to fix this issue.
While you wait, you can also setup a redwood script to automate the cancellation of the job, its running longer than expected.
thanks
Nanda
what version of CPS are you running?
You should divide the jobs based on the submit frame.
A.Jobs that have frequency less than an hour
B.Jobs that have frequence more than hour and that run daily.
C.Jobs that have frequency weekly/monthly etc.
Once you have this list, you can probably create a redwood script and pass this list.
Remember, if there is a job that runs every 5 minutes, then in past 4 years, it will have about 400K plus entries in job table, so it may take a long time to delete the entries. You many want to run only one per day for category A mentioned above.
When you have the list ready, you can loop through the job definition names
for (each job in job definition list)
{
JobDefinition jd = jcsSession.getJobDefinitionByName("<JobDefName>");
jd.deleteFinalJobs();
jcsSession.persist():
}
thanks
Nanda
Hi Nanda, Thank you. Few more concerns.
Presently, Client is not okay going with the Archive Module of Redwood.
He is predominantly looking to explore other scenarios which can enhance the performance tuning. As we know, Keep Clause is key here.. Challenge is how to se the Keep Clause for entire jobs
What is the approach needs to be taken care ? What precautions needs to be looked upon, without disturbing any live running jobs of present production.
Any clues...please let me know.
thanks
Nanda
Thanks Nanda for the script,
I was looking for this code snippet.
Yes we have the list of jobs based on frequency.
We will pass on the list of jobs as parameters and delete these jobs and at the same time, I am also planning to update the keepClause for those jobs because keepclause has not been set for any of hte jobs. i.e., after deletefinaljobs() line, I want to add it like below:
Long keepAmount = 20;
for (each job in job definition list)
{
JobDefinition jd = jcsSession.getJobDefinitionByName("<JobDefName>");
jd.deleteFinalJobs();
//setting keepClause
jd.setKeepUnits(com.redwood.scheduler.api.model.enumeration.JobDefinitionKeepUnit.Days);
jdsetKeepAmount(keepAmount);
jcsSession.persist():
}
Can we do like this or is there any better way to do?