You can write your "good night" program in any of the languages supported by CICS®, with full access to the CICS application and system programming interfaces.
If you customize the supplied program, or write your own "good night" program, note the following:
When you are continuing your timeout program’s pseudoconversation, always specify the name of your "good night" transaction (for example, GNIT) as the next TRANSID. If you do not, CICS does not know that you are still handling the timeout, and results may be unpredictable.
If you have customized the sample program, DFH0GNIT, specify the supplied sample transaction definition, GNIT.
If you have written your own "good night" program, named something other than DFH0GNIT, you must create and install a transaction definition that points to your program, and specify this definition on the GNTRAN SIT parameter.