//JS40 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
HELO XXX.XXX.XXX
MAIL FROM:<XXXX@XXX.XXX>
RCPT TO:<XXXX@XXX.XXX>
DATA
FROM: XXXX@XXX.XXX
SUBJECT: TEST
TO: XXXX@XXX.XXX
DAILY UPDATES
THIS SHOULD CONTAIN A TEXT FILE ATTACHMENT
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=FILE.TXT
// DD DISP=SHR,DSN=BTEST.I.XXX.XXX.XXX.SORT
// DD *
.
QUIT
/*
//SYSUT2 DD SYSOUT=(,),
// OUTPUT=(*.OUTGRP02),
// DEST=(XXXXXXXX,SMTP)
/*
==============================
OUTGRP02 is setup like this:
//OUTGRP02 OUTPUT CLASS=M
==============================
I keep getting this error message:
DATA SET UTILITY - GENERATE
IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT,
IEB311I CONFLICTING DCB PARAMETERS,
IEB311I CONFLICTING DCB PARAMETERS,
IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT,
IEB311I CONFLICTING DCB PARAMETERS,
IEB311I CONFLICTING DCB PARAMETERS,
Here are the setting of my data file:
DCB=(RECFM=FB,LRECL=180,BLKSIZE=27900),
SPACE=(TRK,(2000,2000),RLSE),
UNIT=DISK
SPACE=(TRK,(2000,2000),RLSE),
UNIT=DISK
Thank you in advance!!
One additional question about this: Is there a way to include the current date and time in either the email message or subject?