The rest of this chapter discusses how exit programs may be used to achieve various objectives in designing an application. It consists mainly of text with samples of code.
The examples vary considerably in complexity; some are intended to show the basic code required for a given exit task, while others point out subtleties or explore more difficult applications. Readers are encouraged to be selective in reading this section. There is no requirement to read this section sequentially.
The following convention is used throughout the section: TOB exit program refers to “an exit program called with the indicators TOB”.