since the program WTOMSG is probably an in house written utility
ASK YOUR SUPPORT OR YOUR COLLEAGUES
but guessing from experience
Your organization uses some automation package which provides an event scheduling facility based on the messages written to the operator console
so writing a properly formatted message to the operator console will schedule some process
Thanks a lot Enrico-Sorichetti for your quick response.
I thought it is taking some input from the datasets and writing it to console by Executing program WTOMSG.
I am not sure whether utility WTOMSG is doing some automation, never saw that in Mainframe.
I am not a JCL guy but know little about it.
Actually site has done migration from Mainframe to Linux OS few 4-5 years back.
Now they want to decommision the job which uses this logic.