In-house written utility calling Endevor API receives S878 abend
search cancel

In-house written utility calling Endevor API receives S878 abend

book

Article ID: 408086

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

ISPF is running a COBOL program named NSMBACK that dynamically calls subroutine NSUPROM2 which dynamically calls NSUENDV.
 
Routine NSUENDV calls the SORT utility and, from the 'exit35' sort exit (which receives the sorted records), calls the Endevor API.
 
The Endevor API tries to initialize but at this point the address space is out of storage below the line and generates S878 abend. How can this be corrected?

Environment

All Support Releases
COBOL 6.3/6.4

Resolution

The compile step had a DD in SYSLIB  DSN=CEE.SCEELKED that seems to be causing looping with COBOL 6.3/6.4;  Removing this from the concatenation resolved the issue and it wasn't a needed library.