I have a copy command in my CL program.
I have specified tofile and tomember parameters. I have given CRTFILE(*NO) so that I don't want to create a source file if it is not existing.
I want to show a message "Sourcefile is invalid" when the source file is
not an existing one. I want to show the message directly at the bottom of the screen(not as a BRK message or onto the log). How can I achieve this?
Capturing the MONMSG and showing the message using SNDPGMMSG shows the message on the log.
Here is the CPYF command:
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!