When a COBOL program is compiled and linked for any exit point within Endevor, the following code is required on the link step:
// DD *
INCLUDE SYSLIB(EPC1UEXT) *front-end program*
INCLUDE SYSLIB(exit program name) *real exit program*
When the ENTRY statement is missing, the user exit is not properly invoked and the output that is supposed to be created by the exit is coming out as 0's rather then actual data.
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.