Let's understand Mainframe
Home Tutorials Interview Q&A Quiz Mainframe Memes Contact us About us

Module 11:- Library Facility and sub-programming

END PROGRAM statement

  • All contained and containing programs are terminated using END PROGRAM statement.
  • Basic syntax of END PROGRAM statement:-

    END PROGRAM program-name.

  • program-name is the name given in PROGRAM-ID paragraph
  • Below example depicts how END PROGRAM is used in nested programs:

© copyright mainframebug.com
Privacy Policy