0 pts.
 ftp rpg
Hi 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 CALL PGM(FTPLOG) IF COND(&ERR *EQ 'Y') SNDUSRMSG MSG('FTP Transmission Failure,Please Transmit Manually') ERR is generated in RPG

Software/Hardware used:
ASKED: January 8, 2009  3:17 PM
UPDATED: January 8, 2009  4:02 PM

Answer Wiki:
Hi, Add the &ERR as a parameter on the call to your RPG CALL PGM(FTPLOG) PARM(&ERR) Create a *ENTRY PLIST in your RPG program with ERR as your PARM. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  January 8, 2009  4:02 pm  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _