I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification
IF COND(&ERR *EQ 'Y')
SNDUSRMSG MSG('FTP Transmission Failure,Please
ERR is generated in RPG
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!