Hi I am trying to send a mail along with attachment.
1). I have a attchment that needs to be send of fomrat (FBA,133)
2).I have created two file, one file contains
Sysin file :
HELO SMTP
MAIL FROM: <BALESH.xx@xx.COM>
RCPT TO:<BALESH.xx@xx.COM>
DATA
FROM: BALESH.xx@xx.COM
SUBJECT: ASO REPORT STATUS
MIME-VERSION: 1.0
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=FILE1.TXT
the Period file.
.
3). The third file is the file which needs to be attached.(FBA,133)
Job code is as follows.
//SMTP OUTPUT DEST=(SMTP),CLASS=A
//********************************************************************
//STEP010 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=A,DEST=(SMTP)
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=Sysin file
// DD DISP=SHR,DSN=Data file
// DD DISP=SHR,DSN=Period file
.
/*
I am getting MAXX CC 0 but not getting the mail. would you please tell me where I am going wrong.