Endevor exit control block is returning garbage

book

Article ID: 128592

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM) CA Endevor Software Change Manager - Natural Integration (SCM) CA Endevor Software Change Manager - ECLIPSE Plugin (SCM) CA Endevor Software Change Manager - Enterprise Workbench (SCM)

Issue/Introduction

Cobol Exit 2 is returning garbage in exit control block, except EXIT-CONTROL-BLOCK.

Cause

EPC1UEXT was missing in the Exit 2 linkedit step.

Environment

All version of Endevor

Resolution

Add it and recompiling Exit 2 fixed the issue.

Additional Information

EPC1UEXT makes control blocks available to exit programs written in high-level languages such as COBOL.
The include for EPC1UEXT is necessary for exit points 1 through 6, if writing an exit for exit point 7 (package exit) the include is not necessary.
For further explanation, see Chapter "Using Exit Control Blocks"