Quantcast
Channel: SCN: Message List - SAP Business Process Automation by Redwood
Viewing all 2607 articles
Browse latest View live

Re: How to create an alert if job has not started

$
0
0

We use maximum run time limits for other jobs now, but that is used, if a job that is currently running, runs longer then the time limit we set. You saying this can always be used/setup, to alert for a job that does not even start to run at it's scheduled start time? I looked at it, but not sure how to set something like that on a max run time. What do you think?

 

Thanks

Rick


Re: How to create an alert if job has not started

$
0
0

Your next job is delayed, because your current job is running longer than usual.

If this is the condition always, then

  1. Create an
  2. set a maximum run time limit of 5 minutes, and raise the ad hoc alert source to send the email. You can customize the email to say, that the run is delayed.

thanks

Nanda

Re: SAP CPS 8.0 Upgarde to SAP BPA 9.0

$
0
0

Are you able to generate an XML from your maintenance optimizer for upgrade it to BPA?

 

thanks

Nanda

Re: CPS Production system id

$
0
0

Thank you Nanda. Any issue if server_acl file don't exist?.

 

Regards,

Lohit.

How do we send job failure alert generation from CPS to SolMan 7.1 Alert Inbox

$
0
0

Hi

we have alerts configured in CPS for all job failure we get alert notification as we have SolMan 7.1 alert inbox  is there any easy way send this alerts from CPS to SolMan 7.1 alert inbox so that operator monitoring that alert Inbox in SolMan can check those alerts?

Re: CPS Production system id

$
0
0

You mentioned process server in DEV is working fine, so i am assuming acl file may be optional here.

 

thanks

Nanda

Re: How do we send job failure alert generation from CPS to SolMan 7.1 Alert Inbox

$
0
0

You can integrate Solman Job Scheduling Management with CPS.

Solman_workcenter provides a view of the operator messages.

So if you are using an alerting module, then the operator messages of the job failure notifications will show up in solman as well.

 

thanks

Nanda

Re: Regarding reccurences way of scheduling the job in Cronacle V7.0

$
0
0

Hi Gerben,

 

Thanks for the clarification.

 

I am using SAP CPS Cronacle 7.0 version here and I cannot see presubmit box , can you please assist further.

 

Regards,

Ganesh


Re: Need report on CPS jobs - Redwood scripts

$
0
0

Hello Muthukumar,

 

You mean to say you want a forecast of all the jobs running under each application

Re: Writing to Excel sheet

$
0
0

Hi Nanda,

 

Actually I am trying to export a report which contains the job details such as name, program, date. I have a requirement that I have to include the job log for the error or killed jobs as well.

I am trying to figure out how to retrieve job log from either report or a script.

 

Is there any way that we can configure the same in email alert gateway so that it comes as information instead of mail attachment?

 

Is there anyway we can retrieve job log from the server for a given job using redwood script?

Is it possible to run SQL against a table that you have created in CPS?

$
0
0

Is it possible to run SQL against a table that you have created in CPS?

 

I would like to be able to run an SQL LEFT join for null ids

for a table created in CPS called Master_Schedule which has job names that should be scheduled, and the job table for any job that has a status scheduled, wait, running, etc.

 

Any null values found would indicate that a job that should be scheduled has been cancelled or killed and needs to be manually re-scheduled.

 

I'll use this list of missing jobs to send an email alert to the job monitoring team to reschedule the missing job(s).

 

Any pointers to a solution greatly appreciated.

 

Guy

Re: Regarding reccurences way of scheduling the job in Cronacle V7.0

$
0
0

Hello,

 

On any release there has been a presubmit count box on the Time and Dates tab in the submit wizard. This has always defaulted to 1.

If you cannot find it please provide a screenprint of the Time and Dates tab.

 

Regards Gerben

Re: Is it possible to run SQL against a table that you have created in CPS?

$
0
0

Hi Guy,

 

Of course that is possible: you can do something like this (let's assume you have put the job names in the Key field of your table):

select tv.Key from TableValue tv, Table t where tv.Table = t.UniqueId and t.Name = 'Master_Schedule' where not exists (select 1 from Job j, JobDefinition jd where jd.Name = tv.Key and j.JobDefinition = jd.UniqueId and j.Status in ('R','W','S','Q','B','q','2','4','6'))

 

Regards Gerben

Re: Is it possible to run SQL against a table that you have created in CPS?

$
0
0

That's great news, but I'm having trouble parsing the SQL.  I was having trouble with the SQL until I replaced the second where with AND.

 

All good.  Cheers

 

Guy

Re: Is it possible to run SQL against a table that you have created in CPS?

$
0
0

Sorry, Gerben.  I've been struggling to iterate over the results of the SQL.  I can create a report easily enough, but I'd like to go through the results within the RedwoodScript, and generate an email alert if any missing scheduled jobs are returned.

 

    String query = "select tv.Key as Job_Name from TableValue tv, Table t where tv.Table = t.UniqueId and t.Name = 'Master_Schedule' and not exists (select 1 from Job j, JobDefinition jd where jd.Name = tv.Key and j.JobDefinition = jd.UniqueId and j.Status in ('R','W','S','Q','B','q','2','4','6'))";

    jcsErr.println(query);

 

 

I've tried without success to use executeObjectQuery and executeQuery, and I believe my problem (apart from being rubbish at Java!) is that the data being returned is simple string Job_Name and the executeObjectQuery is for querying objects (like I've done successfully in other scripts).

 

Could you possibly give an example of how I can execute and iterate over the sql results for the above query?

 

Regards

 

Guy


Re: How to create an alert if job has not started

$
0
0

Hi Kumar,

 

This issue we are having is not caused by any current job still running that would hold up the next 5 minutes scheduled occurrence. The next scheduled occurrence, just does not start within the 5 minutes submit frame it is set to, because of different reasons on the system. All previous current runs have finish ok. This is not a daily or weekly issue, but just something that does happen to hold up one of the occurrences and places a backlog. So when the system delays our job and it does not start at least 15 minutes past the 5 minute submit frame, we would like to be alerted of it.

I just cannot find a way to create an alert that would work to alert only if a job has not started on time.

Hoping you still have some more idea's or suggestion. Thanks for all you have provides so far.

 

Rick 

Can the Archiving Session Note field in SAP Data Archiving be updated by a job in SAP CPS?

$
0
0

We will be using SAP CPS (M33.110-76019) to schedule SAP Data Archiving jobs.  We have a request to have SAP CPS

update the Archiving Session Note;  How do I automate a dynamic date entry in this field?

 

I have included a screen shot showing the field I am asking about.

 

Thank You,

Donna

Re: Writing to Excel sheet

Re: Can the Archiving Session Note field in SAP Data Archiving be updated by a job in SAP CPS?

$
0
0
  1. Import the ABAP program to CPS
  2. Import the variant to CPS
  3. Duplicate the job definition SAP_StoreVariant (say TEMP_VARIANT)and add the parameter for Archive Session note.
  4. Create a job chain
    1. Step 1 - TEMP_VARIANT
    2. Step 2 - Archive job
  5. Run the job chain.

 

 

thanks

Nanda

Re: Writing to Excel sheet

$
0
0

Hi Nanda,

 

Thanks for the reply.

 

I have the script of getting log file as attachment to my mail. However I want to export the jobs with killed and error status jobs, to excel, along with their error log.

 

Right now I am trying to do this using VBA in outlook. I want to do it from Redwood side itself.

Viewing all 2607 articles
Browse latest View live