Wednesday, November 15, 2006

Review COBOL ENTRY and MVS abend list

The COBOL ENTRY statement allows a program to start at an alternate place. It is more common in Microfocus and on z/OS; on the mainframe people tend to code separate modules.

IBM has a definitive discussion at its Boulder CO site, here

It should be studied in conjunction with the CALL statement, reference here:

Note the USAGE IS PROCEDURE-POINTER and USAGE IS FUNCTION-POINTER.

This reference has a comprehensive list of the common MVS abends. The most common and notorious (for nightcall support programmers) is S0C7. But others are interesting. The "empty files" is usually an 0001. The S0C5 can happen when falling through an ENTRY statement.

Abend list

No comments: