Unix Daemon like background process in Mainframe

Unix Daemon like background process in Mainframe

Could someone pls help:

How to create Unix Daemon like background process independent of terminal in the Mainframe environment .

I have a requirement to create a Process/Service in Mainframe which can emulate Unix Daemon like behavior.

Appreciate your feedback.Thanks.