Retrieve Service Agent (RTVSRVAGT)

The Retrieve Service Agent (RTVSRVAGT) command allows a user to retrieve information about Service Agent.

Up to three valid days of the week for which Service Agent automatic processing can occur may be retrieved and placed in specified CL variable(s). The days of the week are valid for the system or logical partition on which the command is used.

Parameters

Keyword Description Choices Notes
DAY1 CL variable for day 1 Character value Optional
DAY2 CL variable for day 2 Character value Optional
DAY3 CL variable for day 3 Character value Optional

CL variable for day 1 (DAY1)

Specifies the name of the CL variable that receives the first day of the week for which Service Agent automatic processing can occur. The variable must be a character variable with a minimum length of 4 characters.

The returned day of the week is one of the following special values: *MON, *TUE, *WED, *THU, *FRI, *SAT, or *SUN.

CL variable for day 2 (DAY2)

Specifies the name of the CL variable that receives the second day of the week for which Service Agent automatic processing can occur. The variable must be a character variable with a minimum length of 4 characters.

The returned day of the week is one of the following special values: *MON, *TUE, *WED, *THU, *FRI, *SAT, or *SUN.

CL variable for day 3 (DAY3)

Specifies the name of the CL variable that receives the third day of the week for which Service Agent automatic processing can occur. The variable must be a character variable with a minimum length of 4 characters.

The returned day of the week is one of the following special values: *MON, *TUE, *WED, *THU, *FRI, *SAT, or *SUN.

Examples

DCL  &FIRSTDAY   TYPE(*CHAR) LEN(4)
DCL  &SECONDDAY  TYPE(*CHAR) LEN(4)
DCL  &THIRDDAY   TYPE(*CHAR) LEN(4)
 :
RTVSRVAGT   DAY1(&FIRSTDAY)  DAY2(*SECONDDAY)  DAY3(&THIRDDAY)

This command retrieves the three valid days of the Service Agent automatic function Auto PTF.

Error messages

*ESCAPE Messages

CPF9899
Error occurred during processing of command.