Topic
  • 5 replies
  • Latest Post - ‏2018-07-16T09:15:35Z by OrbDW - Pete Meechan
D4ni3l
D4ni3l
44 Posts

Pinned topic IWS RC mapping for R3batch method

‏2018-07-13T12:27:08Z | 9.3 agent iws method r3batch rc scheduler tws workload

Hello guys,

 

we are trying to implement this "rc mapping" in our environment  (https://www.ibm.com/support/knowledgecenter/en/SSGSPN_9.4.0/com.ibm.tivoli.itws.doc_9.4/apps/src_usr/awsaur3rtcmfname.htm)
I created the rcm folder and joblog file on the extended agent, and set a pattern like this:
"*cancell ed*"=0

We have a test job and in sap logs I can see this line:

13.07.2018. 10:00:03 Job cancelled 00 518 A
 

but the job in TWS is still returns code 1.

 

Can you suggest what is missing?

rcmap and other options are not set they are default. Agent version is 9.3.3

 

Thank you in advance.

  • OrbDW - Pete Meechan
    170 Posts

    Re: IWS RC mapping for R3batch method

    ‏2018-07-13T17:05:35Z  

    Have you tried specifying the default values explictly? e.g.

    "*cancelled*" "*" "*" "*"=0

    If that doesn't work, check that you are returning the joblog if using r3batch-joblog.rcm file from SAP

  • D4ni3l
    D4ni3l
    44 Posts

    Re: IWS RC mapping for R3batch method

    ‏2018-07-14T07:59:33Z  

    Have you tried specifying the default values explictly? e.g.

    "*cancelled*" "*" "*" "*"=0

    If that doesn't work, check that you are returning the joblog if using r3batch-joblog.rcm file from SAP

    How could I check if the joblog is returned or not?

     

    Thank you in advance.

  • OrbDW - Pete Meechan
    170 Posts

    Re: IWS RC mapping for R3batch method

    ‏2018-07-14T09:10:53Z  
    • D4ni3l
    • ‏2018-07-14T07:59:33Z

    How could I check if the joblog is returned or not?

     

    Thank you in advance.

    Make sure the setting retrieve_joblog is set on by specifying the option "-flag enable_joblog" as described here

    https://www.ibm.com/support/knowledgecenter/en/SSGSPN_9.4.0/com.ibm.tivoli.itws.doc_9.4/apps/src_usr/awsaur3task.htm (composer definition)

    In the workload console you can add the options in the Properties of the SAPjob definition

    This option should be enabled by default, but can be disabled so to make sure specifying at the job level ensures that it is enabled

    You will be able to view the SAP joblog output in the workload console Job Log option when the job has completed execution

  • D4ni3l
    D4ni3l
    44 Posts

    Re: IWS RC mapping for R3batch method

    ‏2018-07-15T08:06:28Z  

    Make sure the setting retrieve_joblog is set on by specifying the option "-flag enable_joblog" as described here

    https://www.ibm.com/support/knowledgecenter/en/SSGSPN_9.4.0/com.ibm.tivoli.itws.doc_9.4/apps/src_usr/awsaur3task.htm (composer definition)

    In the workload console you can add the options in the Properties of the SAPjob definition

    This option should be enabled by default, but can be disabled so to make sure specifying at the job level ensures that it is enabled

    You will be able to view the SAP joblog output in the workload console Job Log option when the job has completed execution

    Thanks for the hint, the retrieve_joblog option was disabled, now it's working and returns 0 return code, but the job still in abend.

    What else should be configured for this job to end in success if 0 return code is returned?

     

    Thanks

  • OrbDW - Pete Meechan
    170 Posts

    Re: IWS RC mapping for R3batch method

    ‏2018-07-16T09:15:35Z  
    • D4ni3l
    • ‏2018-07-15T08:06:28Z

    Thanks for the hint, the retrieve_joblog option was disabled, now it's working and returns 0 return code, but the job still in abend.

    What else should be configured for this job to end in success if 0 return code is returned?

     

    Thanks

    Check in the <workstation>_r3batch.opts file that RCMAP=on has been set to ensure RC mapping is enabled

    Also what is the abend code of the job now?

    Updated on 2018-07-16T09:16:15Z at 2018-07-16T09:16:15Z by OrbDW - Pete Meechan