When connection with VSCode Endevor plugin, the spawn task always fails with S222 abend.
ENF log shows multiple cancellations of the spawn task
06.48.47 S0062102 IEE301I <jobname> CANCEL COMMAND ACCEPTED
The Endevor system has DB2 in the exit routines.
PLAN/THREAD CONNECT TO <database> ERROR
DB2 CONNECT ERROR:
RETC = +0000000008 REASON = +0015925300
Reason code +0015925300 (X’00F30034’) means the program attempting to execute the plan is not authorized to use the plan.
S222 abend went away after adding appropriate plan authorization.