Job definition don't exist
Create Submit Frame / Time Window - Second Workday with calendar BE
Case:
Creation of a time window / submit frame that submits every second workday of the SAP calendar BE (factory calendar)
Timewindow
I've already created a time window with following parameters
* Is calendar : checked
* Elements:
** and from the 2ndworkday of the month
** Periodic Function: SAP_FactoryCalendar with parameters: calendar= ECC BE
This timewindow works for almost all the months.
Except when a holiday is on the first day of the month.
Example:
1th November 2016 is not a workday (holiday) and falls on a wednesday.
I would expect that this timewindow gives me the 3th November as the 2nd workday.
But according to the created timewindow, it give me the 2nd November as the 2nd workday of that month.
Nevertheless the factory calendar BE starts on the second November.
It seems to me that the parameter "and from the 2nd workday of the month" doesn't work with the factory calendar.
Does anybody have a solution for me?
Thanks!
Br,
Dieter
Having problem in sending email from SAP to my company email.
Could someone please help me why I never received the job log/spool to my email.
I have tried to send the spool from SAP to my own email i didn't get any .
Could some one help this please !
Job id's not in sync with their scheduled start/runtime
Hi,
Our job id's are not in sync with their scheduled start/run start time. They are not in increasing order. Please see below screenshot, jobid of the jobs which ran on Feb 19th and Feb 15th are lesser than the jobid's of the jobs which ran before it. Are they not supposed to be bigger than the jobs which ran before them?. Please advise. This happened with many other jobs.
Regards,
Lohit
Redwood Connection Issues
Hi All,
We currently suffer from a rogue issue in Redwood/SAP which occurs randomly. This error only appears on our APO and BWP environments. When a job is submitted from Redwood to SAP it errors straight away with the following error:
Log output from job RSI_START_BW_CHAIN:
###############################################
RSI-00001: unable to connect to localhost port 6590; error -1
OS-0: The operation completed successfully.
Error when connecting to host null on port 6590
###############################################
The only way to get the submit is to restart the Redwood services on our APO/BWP cluster. Which reactivates the connection with SAP ( both services are on the same node) and when the job is resubmitted it submits fine!
Any help would be much appreciated!
Cheers
Jazz
SAP Central Process Scheduling by Redwood
Hi Experts,
We are going to install SAP CPS in my landscape , we don't have any idea about SAP CPS By REDWOOD, so can any one help me for how install and how to use, send complete guidance for SAP CPS by REDWOOD .
Thanks & regards
J JANA
Server Node 5 - Redwood/CPS Connection errors
Hi Experts,
Production SAP Portal is spitting out regular connection errors relating to Redwood. Please advise impact and how these can be stopped.
Please investigate as a priority as Production SRM is reported as being slow and we're doing everything we can to tune/optimise (through Portal/SRM/MDM/Server/DB).
Sample error text:
#1.#B499BA623D920032002062B7000069D700051C756A3F9862#1438665502857#com.redwood.scheduler.cluster.status.ClusterLogging#redwood.com/scheduler-ear#com.redwood.scheduler.cluster.status.ClusterLogging#Guest#0##D409281A224F11E5C76C000010E4F097#d409281a224f11e5c76c000010e4f097-0#d409281a224f11e5c76c000010e4f097#Thread[Redwood Background Startup,5,Redwood]##0#0#Info##Plain###Repeated Exception pinging the master on startup. Sleeping for 2178ms (stack not included, see first stack of background thread above).#
Thanks and Regards,
Devi.
Schedule JOB to run on only SAP 2 Instances out of 6 instances
Dear all,
Is it possible to schedule a 40 Work Processes job to run on 2 SAP instances (DIA) only, while the SAP system has 6 SAP instances (CI + 5DIA).
We are using Control M + CPS Redwood.
I suppose some RZ12/Logon groups or SM61 would be involved? Or any concrete trick in CPS/ Control M?
Thanks in advance!
Marian
MSHOST or ASHOST?
Hi everyone,
Our SAP production system runs on two application servers serverA and serverB, and they both are added in the logon group SVRGRP.
Now the sap system has a fully qualified domain name - sapprdecc.domain.com and i am able to connect using the string:
ASHOST=sapprdecc.domain.com SYSNR=00 TRACE=0
I understand that we can connect to the msgserver as well. I have tried the following connection strings but none of them work:
MSHOST=sapprdecc.domain.com R3NAME=XX1 GROUP=SVRGRP
MSHOST=xxx.xxx.xxx.xxx R3NAME=XX1 GROUP=SVRGRP
So, i am thinking of going with the ASHOST string(since this works). I have two questions:
- Can someone please let me know whether i should go for the MSHOST string for my scenario or ASHOST string is enough?
- Why did my MSHOST string fail, what i am doing wrong?
PS: I am able to open the GUI with the command SAPGUI xxx.xxx.xxx.xxx 00 (so the ipaddress i am using is correct)
Migration from UC4 to SAP CPS
All Experts,
Currently we are running UC4 for our batch scheduling requirements and are considering to migrate to SAP CPS.
We have around 10K+ jobs to be migrated from UC4 to SAP CPS.
Does SAP provide any migration tool for this? or we have to do it manually?
Kindly suggest any other vital information related to this topic.
with CPS submitted SAP job gets only status 'scheduled' in SAP not further
I have imported a SAP job with standardf SAP_ImportCcmsJobs: OK
Then I submitted this Job in CPS. In the connected SAP system this job got only the status 'scheduled'.
How can I manage that this job gets activated automatically?
Thanks for the solution.
I didn't find anything in the forum.
SAP CPS: Unknown Recalculating Time Window
We recently had an outage on one app server (not the whole system) on a system SAP CPS manages batch jobs for
After that we had to restart the relevant Process Servers because "jobs weren't being sent to the system"
However now all 3 queues for this Process Server are red and have the status:
"
Unknown Recalculating Time Window |
"
The Process Servers are Green, but the Queues are Red with this message/
Has anyone seen this before? It's taking a long time if it is recalculating.
Error changing a TableValue by script
Hello,
I want to change a value in a table by script.
If I run the script with my own user (permissions scheduler-administrator) it works fine. If an user from another partition use this script he gets an error message. On the table he has full rights. What does the errormessage mean or what could be the problem?
Best regards
Dana
part of the script:
String vTableName = "MonitorTable"; Table vTable = jcsSession.getTableByName(vTableName); for (Iterator it = jcsSession.executeObjectQuery("select Queue.* from Queue", null); it.hasNext(); ) { Queue qu = (Queue) it.next(); String vKey = "QU_" + qu.getName().toUpperCase(); TableValue vTVDefault = vTable.getTableValueBySearchKeySearchColumnName( vKey, "DEFAULTVALUE"); String vTVStr = vTVDefault.getColumnValue(); TableValue vTVMonitor = vTable.getTableValueBySearchKeySearchColumnName( vKey, "MONITOR" vTVMonitor.setColumnValue(vTVStr); jcsOut.println("Test"); jcsSession.persist();
Till line 10 it works, the persist doesn't work.
Error message:
-- JOB RUN STACK TRACE --
com.redwood.scheduler.script.api.ScriptEngineEvaluationException
at com.redwood.scheduler.script.java.impl.Java.evaluate(Java.java:87)
at com.redwood.scheduler.scriptjobservice.impl.ScriptJob.execute(ScriptJob.java:147)
at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:269)
at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:81)
at java.lang.Thread.run(Thread.java:763)
Caused by: com.redwood.scheduler.script.api.ScriptEngineEvaluationException
at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:150)
at com.redwood.scheduler.script.java.impl.Java.access$0(Java.java:137)
at com.redwood.scheduler.script.java.impl.Java$1.call(Java.java:80)
at com.redwood.scheduler.script.java.impl.Java.evaluateCallable(Java.java:118)
at com.redwood.scheduler.script.java.impl.Java.evaluate(Java.java:74)
... 4 more
Caused by: com.redwood.scheduler.infrastructure.exception.ReplacementException
at com.redwood.scheduler.infrastructure.util.ExceptionUtil.wrap(ExceptionUtil.java:259)
... 9 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:146)
... 8 more
Caused by: JCS-122035: Unable to persist: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:1012)
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:938)
at com.redwood.scheduler.custom.Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSexecute(Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPS.java:user code 40)
at com.redwood.scheduler.custom.Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSStub.jcsExecute(Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSStub.java:32)
... 13 more
Caused by: com.redwood.scheduler.persistence.api.PersistenceException$ModelModificationVetoException: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution
at com.redwood.scheduler.model.LowLevelPersistenceConfigurationImpl.throwUnexpectedExceptionDuringListenerExecution(LowLevelPersistenceConfigurationImpl.java:657)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1074)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:327)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.access$0(LowLevelPersistenceImpl.java:245)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:119)
at com.redwood.scheduler.persistence.impl.OuterPersistenceUnitOfWorkManager.execute(OuterPersistenceUnitOfWorkManager.java:38)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:197)
at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:67)
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:987)
... 16 more
Caused by: java.lang.NullPointerException: while trying to invoke the method com.redwood.scheduler.apiint.model.TableDefinitionInt.getTableDefinitionColumnsInt() of a null object returned from com.redwood.scheduler.apiint.model.TableInt.getTableDefinitionInt()
at com.redwood.scheduler.model.method.impl.TableMethodImpl.createMissingTablesValuesForKeyInt(TableMethodImpl.java:244)
at com.redwood.scheduler.model.TableImpl.createMissingTablesValuesForKeyInt(TableImpl.java:1150)
at com.redwood.scheduler.model.method.impl.TableValueMethodImpl.preparePhaseHandler(TableValueMethodImpl.java:73)
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.preparePhaseHandler(BaseSchedulerEntityImpl.java:1260)
at com.redwood.scheduler.model.listeners.ConstraintCheckPrepareListener.modelModified(ConstraintCheckPrepareListener.java:51)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1063)
... 23 more
Redwood - Problem with File Wait Event.
Hello All,
I have a Chain where the first step needs to wait for a file. This Chain is scheduled but when the file is not present on the “Watch Directory”, an Error is raised on this step (red color) and the only manually it is possible to restart the Chain restarting this step. I'll show you the process chain diagram.
I have tried to investigate about this but without success.
The Event is set in this way
I suppose that the Event is not correctly cleared because something happened at the beginning of this month. On February the same chain worked correctly.
I ask you if there is the possibility to force manually the "Clears Event" and a support to solve this problem.
Thanks in advance for your kind help.
Regards,
Giovanni
File copy
Hi All,
Our Windows server drive is mounted on SAP Linux Box. We have few SAP files written directly on to the Linux box locally. Could you please provide the options to copy the files from Linux box to the window server.
Is the agent mandatory on any of the servers?
Thanks,
Chandu
BW Chains status not reflecting Cronacle eventhough it is completed in SAP system
Hello All,
The type of the job I am talking here is about the BW chains.
We are facing problem in the job status in one of our system , where in the corresponding functional team is conveys that the jobs are getting completed but while we check in Cronacle the jobs are running.
Some of the action point we have already taken to fix up the issue :
Process server restart
SAP system restart
But to no use as it seems that both could not solve the issue.
Due to the above scenario the loads are not getting completed within the SLA and it impacts the business to a large extent.
Can you please have a look and do provide your insights
Facing Socket creation error in Redwood V7
Hello All,
We are facing socket error from the past few months and the frequency of this error is not is getting increased more and it is not fixed that it is happening for a particular time slot.
Below is the details of the error log we get in the job :
Error log:
unable to connect to localhost port ; error -1
OS-4: Interrupted system call
Socket creation error: host=null port
Can you please let me know what can be the cause for it as this hamper the batch job executions to a very huge extent.
Let me know what all things I can check from Cronacle and SAP Basis prespective
Jobs struck in post running status
Hi All,
Our jobs struck in post running status with the below operator message. We cancelled the jobs and re-ran them and completed successfully.
Action Work Post Running Action for primary 36842316, secondarystatus change R to C is aborted, job 616603 requested status is null, expected Completed
Please suggest the reason for this failure.
Regards,
Tinku
Redwood job spool size
scheduling a job every last sunday of the month
Hi
is there a way to schedule a job through sm36 to run every last sunday of the month
regards