List Activities (QFVLSTA) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The List Activities (QFVLSTA) API retrieves a list of activities from a qualified change request description.


Authorities and Locks

Change request description authority
*USE

Change request description lock
*SHRRD

User space authority
*CHANGE

User space library authority
*EXECUTE

User space lock
*EXCLRD

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The name of the qualified user space that receives the generated list. The first 10 characters contain the user space name, the second 10 characters contain the user space library name.

Special values for the user space library name are:


Format
INPUT; CHAR(8)

The format of the data to return. The valid values are:


Qualified change request description name
INPUT; CHAR(20)

The name of the qualified change request description from which information will be retrieved. The first 10 characters contain the change request description name and the second 10 characters contain the change request description library name.

Special values for the qualified change request description library name are:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of the Generated List

The user space is used to retrieve the activity list with the requested information and consists of:

For details about the user area and generic header, see User spaces. For details about the other items, see the following sections. For a detailed description of each field in the information returned, see Field Descriptions.


Input Parameter Section



Header Section



CRDA0100 Format

See Field Descriptions for descriptions of the fields in this format.



CRDA0200 Format

See Field Descriptions for descriptions of the fields in this format.



CRDA0300 Format

See Field Descriptions for descriptions of the fields in this format.



Field Descriptions

Activity name. The name of the activity stored in the change request description name.

Activity text description. The description of the activity.

Activity type. The name of the activity type stored in the change request description name. This value is defined by the user program. The API does not define the possible values.

Change request description name specified. The name of the change request description specified to the API.

Change request description name used. The name of the change request description used to retrieve the list.

Change request description library name specified. The name of the library where the change request description is stored specified to the API. If the special values *LIBL or *CURLIB are used, the library name resolved is set here.

Change request description library name used. The name of the library used where the change request description is stored.

Conditions array. The list of conditions that must be met before the activity can be run. This is an array of 5 elements. The number of conditions field indicates the actual number of conditions specified for the activity.

The structure of each element is:

CCSID of activity text. The CCSID of the activity text description.

Format name specified. The format name specified to the API.

Function parameters. The parameters defined by the calling application when the activity was added.

Function parameters length. The length of the function parameters returned.

Number of conditions. The number of conditions specified for the activity. Valid values range from 0 through 5. This field is used to determine how many elements of the condition array contain valid data.

Reserved. An ignored field.

Start time. The date and time window during which this activity can be started. The current date and time values and next date values are determined when change request is submitted. The structure is:

The format of time is HHMMSS and the format of date is CYYMMDD.

User space library name specified. The user space library name specified to the API.

User space library name used. The names of the actual user space library used to report data. If the special values *LIBL or *CURLIB are used, the library name resolved is set here.

User space name specified. The user space name specified to the API.

User space name used. The actual user space name used to report data.


Error Messages



API introduced: V2R2

[ Back to top | Network Management APIs | APIs by category ]