I have to perform a task. I have to write messages from RPGLE program to the job spool file of the same program.
I am using QMHSNDPM api to send message to the same call stack message queue. The messages are getting written in joblog but not in spool file generated for job. I am not changing any job description parameter. Every thing is default.
Though the call PGM command is there in the spool file but *info message are not getting written.
No idea why is it happening.
Please help on this issue.
I think that whatever is there in job log goes to spool file for printing. but this is not happening in my case.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!