The use of 3-letter time zones in time stamps is somewhat discouraged these days. Instead use +/-hhmm as an offset from UTC/GMT. [1] That allows the mail client to more reliably show the correct time in the recipients' time zone.
So, if your MVS system is running as UTC (regardless of geographic location) just hard code the time offset as "+0000" Having said that, I believe that if you leave the Date: header out of the message altogether the first SMTP server will add it for you. Also, with so much substitution done in the PARM= statement, make sure you don't exceed the 100 character limit. [1] Ref RFC-2822 --- Hey! Hey! You! You! Get off of my cloud! http://news.cnet.com/8301-13578_3-20002423-38.html On Wed, Jul 14, 2010 at 14:45, Donnelly, John P <[email protected]>wrote: > In the SMTPMVS procedure, we have: > > //SMTPMVS EXEC PGM=IRXJCL, > // PARM='SMTPHDR &SENDTO &CCTO &BCCTO &HDR2 &SUBJECT &TRACE' > > If we specify 'HDR2=1 TO READ A 'HEADER2' DDNAME FOR > ADDITIONAL MESSAGE HEADER DATA' > > might we put date/time information in the HEADER2 DD statement like: > > /* Build secondary header */ > 02740008 > queue 'Data' > 02750008 > day = Substr(Date('W'),1,3) > 02760008 > queue 'Date:' day',' Date('N') TIME('N') > 02770008 > > and end up with a field: > > Date: Thu, 15 APR 2010 00:21:27 PDT > > On the message? > > John Donnelly > National Semiconductor Corporation > 2900 Semiconductor Drive > Santa Clara, CA 95051 > > 408-721-5640 > 408-470-8364 Cell > [email protected] > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

