Endevor r19 abend U4002 during quickedit EDIT sesion
search cancel

Endevor r19 abend U4002 during quickedit EDIT sesion

book

Article ID: 269202

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

During a Quickedit session, it might happen to get an abend U4002 with messages:

PGM MGMT INTEGRITY ERROR. RC=0901
BC1PSM10: F000 ABEND CODE=LODI NUMBER=4002

The traceback of called routines that prints with this abend starts with program ENDIE4M (which is part of quickedit), even though the abend message announces BC1PSM10 (classic endevor) as the abending program

 

Environment

Release : 19.0

Cause

This abend with RC 0901 means that Endevor program management routines have found that the program being executed is not running in the expected task. In this case, it arises during execution of program ENDIE4M . This program is called by ISPF at the start of the session which Quickedit starts when editing an element.
 
Since program ENDIE4M is called by the ISPF EDIT service, it runs in the ISPF task. If this abend arises, it means that, somehow, Quickedit is running in a task other than the ISPF task, which is not correct. This may only happen if:
- Classic endevor is started normally via ISPEXEC SELECT PGM(C1SM1000)
- Then Quickedit is started from the endevor user menu by ISPEXEC SELECT CMD(ENDIE1000)

When ENDIE100 is started via SELECT CMD, it runs as a subtask of the ISPF task, which originates this situation.

Resolution

Always start the Quickedit dialog (either standalone or from the endevor user menu) via ISPEXEC SELECT PGM(ENDIE100)

This causes Quickedit to run in the same task as the ISPF EDIT service and prevents any issue when the ISPF EDIT calls Quickedit modules