AS/400 fans only : How to send a DB2 file per Email as CSV attachment
#IBMiSample A simple CMD and CLP to send a DB2 file as CSV attachment. /************************************/ SNDCSV.CMD CMD PROMPT('Send DB2 file as CSV attachm.') /* COMMAND PROCESSING PROGRAM IS: SNDCSVCL */ PARM KWD(SNDFIL) TYPE(*CHAR) LEN(10) MIN(1) PROMPT('DB2 + file to send as CSV') PARM KWD(LIBR00) TYPE(*CHAR) LEN(10) PROMPT('Library') + ...