Work with Submitted CRQ Act (WRKSBMCRQA)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Submitted Change Request Activities (WRKSBMCRQA) command displays the Work with Submitted Change Request Activities display. From this panel, you can display, hold, release, and end activities; display messages and conditions; and work with destination nodes for an activity.

Restriction:

The activities for the change request specified which satisfy the selection criteria are displayed if you submitted the change request, or you have *JOBCTL special authority. An error message is sent to you if you try to display activities for a change request that you did not submit or you do not have *JOBCTL authority.

Top

Parameters

Keyword Description Choices Notes
CRQ Change request Element list Required, Positional 1
Element 1: Name Name
Element 2: Sequence number 1-999999
STATUS Status *ALL, *HELD, *NOTSTARTED, *SCHEDULED, *WAIT, *READY, *STARTED, *SENT, *NOTSENT, *RUNNING, *ENDING, *ENDED Optional
ENDCODE End code 0-99, *ANY, *FAIL, *SUCCESS, *NOTRUN Optional
Top

Change request description (CRQ)

Specifies the change request name and sequence number of the activity list to be worked with.

The possible change request name value is:

change-request-name
Specify the name of the change request for which activities are to be displayed.

The possible sequence number value is:

sequence-number
Specify the sequence number of the change request.
Top

Status (STATUS)

Specifies the status for which to display change request activities.

The possible values are:

*ALL
All change request activities are displayed regardless of status.
*HELD
Displays the status when the user holds the node.
*NOTSTARTED
The node was not processed by the application error. You can find further information about the error in the Change Request Log.
*SCHEDULED
The activity for the node begins at the time you have specified. Sometimes you may receive this status when one or more conditions still must be specified.
*WAIT
The node is waiting for you to specify one or more conditions. Until you specify the needed conditions, the activity does not run.
*READY
The node is ready to start. You have defined all necessary conditions and schedules.
*STARTED
Processing of an activity has started at the central site system.
*RUNNING
The node currently is running on the local system. SNADS is attempting to deliver the entry to the corresponding system. If the activity remains in this status for a long time, you may have a configuration error or SNADS problem. First, check

First, check the distribution queue at the remote site. Second, make sure that all QMSF jobs are running under the QSYSWRK subsystem. Third, make sure that SUBSYSTEM QSNADS is running.

*ENDING
The system displays this status when the user tries to end the activity for the node that was previously in STARTED or RUNNING status. The end is in progress.
*ENDED
The note that was running has ended.
*SENT
Displays only the activities with a status of Sent.
*NOTSENT
Displays only the activities with a status of Notsent.
Top

End code (ENDCODE)

Specifies the end code for which to display the change request activities.

The possible values are:

*ANY
Display all activities regardless of end codes.
*FAIL
Displays all activities with the highest end code between 10 and 89.
*SUCCESS
Displays all activities with the highest end code between 0 and 9.
*NOTRUN
Displays all activities with the highest end code between 90 and 99.
end-code
Specify the end code to use. Displays activities with an end code greater than or equal to the one specified. The valid values range from 0 through 99.
Top

Examples

WRKSBMCRQA   CRQ(CHG001 123456)

This command works with the activities for change request CHG001 with sequence number 123456.

Top

Error messages

None

Top