Thanks, David
//T000010 EXEC PGM=IKJEFT1B,COND=(0,NE)
//SYSEXEC DD DSN=TEST.MISC.CLIST,DISP=SHR
//SYSPRINT DD SYSOUT=(,)
//SYSTSPRT DD SYSOUT=(,)
//EMAILFLE DD DSN=TEST.T.JUNK(+0),
// DISP=SHR
//EMAILMSG DD *
/*
//SYSTSIN DD *
%XMITIP ('TEST'<TEST@TEST.COM>) -
FILEDD EMAILFLE -
FILENAME TEST.XLS -
FORMAT XLS -
MSGDD EMAILMSG -
SUBJECT 'TEST JOB &DATE'
//*
//SYSEXEC DD DSN=TEST.MISC.CLIST,DISP=SHR
//SYSPRINT DD SYSOUT=(,)
//SYSTSPRT DD SYSOUT=(,)
//EMAILFLE DD DSN=TEST.T.JUNK(+0),
// DISP=SHR
//EMAILMSG DD *
/*
//SYSTSIN DD *
%XMITIP ('TEST'<TEST@TEST.COM>) -
FILEDD EMAILFLE -
FILENAME TEST.XLS -
FORMAT XLS -
MSGDD EMAILMSG -
SUBJECT 'TEST JOB &DATE'
//*