IBM Support

TWS for Applications for SAP joblog retrieval (large file)

Question & Answer


Question

How can you control the retrieval of the Tivoli Workload Scheduler (TWS) for Applications for R/3 SAP joblog files that are extremely large?

Answer

Retrieval of joblogs of SAP jobs:

Once an SAP job has been run successfully, its joblog is retrieved by r3batch and appended to the Tivoli Workload Scheduler (TWS) joblog.

For jobs with large joblogs, this can take a significant amount of time used to control the retrieval of the joblog,

o At a global level in the r3batch.opts global options file.

o At a local level in the workstation_r3batch.opts local options file.

o At a job level.

If this option is not specified, the joblog is added to the stdlist.

This section describes how to enable or disable the retrieval of the joblog at any level:

o Global level:

To retrieve the SAP joblogs in the stdlist, specify the following option in the r3batch.opts global options file:

RETRIEVE_JOBLOG

Specify whether to enable or disable the retrieval of the joblog. Possible values are ON or OFF. The default value is ON.

o Local level:

To retrieve the SAP joblogs in the stdlist, specify the following option in the workstation_r3batch.opts local options file:

RETRIEVE_JOBLOG

Specify whether to enable or disable the retrieval of the joblog. Possible values are ON or OFF. The default value is ON.

o Job level:

At job level, use either the TDWC, the COMPOSER command line as follows:

On the COMPOSER command line specify the following options in the IBM Tivoli Workload Scheduler job definition:

-flag ENABLE_JOBLOG (To enable the retrieval of SAP joblogs)

-flag DISABLE_JOBLOG (To disable the retrieval of SAP joblogs)

Using TDWC

1. In the Actions list of the TDWC main window, select the job for which you want to enable or disable the retrieval of SAP joblogs.

2. Select a Tivoli Workload Scheduler engine and from the engine list click SAP. The Properties - Job Definition window is displayed.

3. Select Task. The Task page is displayed.

4. In the Job Options section, from the Job Log list, select Enabled to enable the retrieval of SAP joblog. Select Disabled to disable the retrieve of the SAP joblogs.

NOTE: If the retrieval of SAP joblogs is disabled, the return code mapping for the joblog entries is also disabled.

[{"Product":{"code":"SSTG2Y","label":"Tivoli Workload Scheduler for Applications"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"XA for SAP","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

TWS4APPS;Maestro;IWS;TWS

Document Information

Modified date:
17 June 2018

UID

swg21208067