ILBOSTT

ILBOSTT is a COBOL routine that performs termination functions when a COBOL program finishes executing, if the ENDJOB option is in effect. ILBOSTT does the following:

  • issues a FREEMAIN macro instruction to release the storage obtained by any object-time COBOL library routine

  • closes DCBs

  • frees buffers

  • deletes any modules loaded by the COBOL program

ILBOSTT is called by ILBOSRV and calls ILBONTR.

Reference Sources

IBM OS/VS COBOL Subroutine Library Program Logic, LY28-6425.