Information
Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

RREP: Retrieve WTOR IDs


The RREP EXEC can be used to retrieve the number and text of 10 outstanding WTORs.

If the EXEC receives more then ten WTORs, it ends with a return code of 16, sets RREPROL1 to 0, issues an error message (REP101E) and deletes all data variables from the local pool. If you need to process or examine more then 10 WTORS, use the RREPRX EXEC (see RREPRX-Retrieve-WTOR-IDs).

The following statement shows the format of the call from the EXEC:

IMFEXEC SELECT EXEC(RREP) WAIT(YES)

Following table lists the RREP parameters.

Parameter

Required?

Description

SYSTEM

Yes

System ID for which to gather data. The value ALL means the same as no specification. All replies from a sysplex will be returned.

Following is a list of return codes from RREP:

Return code

Description

8

Security failure

16

Received more than 10 WTORs

Following table lists the variables returned by RREP in the LOCAL POOL.

Variable name

Type

Description

RREPI(XXX)

Data

Reply number

RREPN(XXX)

Data

JES number of task that issued WTOR

RREPROL1

Control

Number of output lines

RREPT(XXX)

Data

type of task that issued WTOR (STC TSU JOB)

RREP1(XXX) through RREP9(XXX)

Data

First nine words of message

RREP10(XXX) through RREP12(XXX)

Data

Extended to twelfth word of the message

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.3