: The following JES2 Initiators must be drained before EDM Agent
agentid
can drain:
A DRAIN command was issued for the specified PowerExchange Agent. However, due to SUBSYS DD affinities with the PowerExchange Agent, certain JES2 initiator tasks are currently registered for PowerExchange Agent services. The PowerExchange Agent cannot drain until all registered tasks have terminated. This message is followed by one or more messages listing those initiators that must be drained to allow all registered tasks to terminate.
The PowerExchange Agent remains in draining status.
Drain the specified initiators with the $PIx JES2 command to enable the PowerExchange Agent to complete draining. After each initiator has been drained, you can restart it.