Re: HealthChecker vs SMTP - 1 : 0

2010-10-03 Thread Paul Gilmartin
On Sat, 2 Oct 2010 20:38:22 -0400, Shmuel Metz (Seymour J.) wrote:

Wherefore it's truly irritating that the mode seems to be that mail
clients impose a 72-column limit, at least by default.

RFC 5322 says that lines of text should be limited to 78[1]
characters. What clients limit them to 72?

I thought OS X Mail.app.  Might be 78.  Simple cut-and-paste
of assembler source with line numbers requires 80+CRLF.

That's a should not a must, and (op. cit.):

   The more conservative 78 character recommendation is to accommodate
   the many implementations of user interfaces that display these
   messages which may truncate, or disastrously wrap, the display of
   more than 78 characters per line, in spite of the fact that such
   implementations are non-conformant to the intent of this
   specification

It's dismaying that broken software gets reflected in standards.

[1] But see RFC 3676, The Text/Plain Format and DelSp Parameters

I've seen it.  Format=flowed, etc. are disgusting.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-10-02 Thread Shmuel Metz (Seymour J.)
In listserv%201009261817574664.0...@bama.ua.edu, on 09/26/2010
   at 06:17 PM, Paul Gilmartin paulgboul...@aim.com said:

Wherefore it's truly irritating that the mode seems to be that mail
clients impose a 72-column limit, at least by default.

RFC 5322 says that lines of text should be limited to 78[1]
characters. What clients limit them to 72?

[1] But see RFC 3676, The Text/Plain Format and DelSp Parameters
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-26 Thread Shmuel Metz (Seymour J.)
In
46fe133d4aaa934296decc2288050f2b02f4b...@gp2k0084v3.geico.corp.net,
on 09/24/2010
   at 05:59 PM, Knutson, Sam sknut...@geico.com said:

The RFC for SMTP limits it 1024 actually says 1000 not including
header/control information.

512 octets for header lines, 1000 octets for text lines, but note
continuation conventions and extension mechanisms, e.g., RFC 2045.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-26 Thread Paul Gilmartin
On Sun, 26 Sep 2010 10:57:20 -0400, Shmuel Metz (Seymour J.) wrote:

The RFC for SMTP limits it 1024 actually says 1000 not including
header/control information.

512 octets for header lines, 1000 octets for text lines, but note
continuation conventions and extension mechanisms, e.g., RFC 2045.

Wherefore it's truly irritating that the mode seems to be that
mail clients impose a 72-column limit, at least by default.  I've
overridden this to 999 in TBird; I find no way to change it in
Mail.app.  Wrapped URL problems, etc.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-24 Thread Jan MOEYERSONS
On Thu, 23 Sep 2010 07:46:44 -0700, Smith, Sean M 
sean.m.sm...@bankofamerica.com wrote:

I fought my way through
it far enough yesterday to realize that SMTP has a documented
restriction for the dataset of an LRECL of 243 or less (although it will
take up to 250).  

H... Maybe the docu is out of date? I just ran:

//*
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN  DD DUMMY
//SYSPRINT   DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD DISP=SHR,DSN=JANTJE.FIVE100

where JANTJE.FIVE100 has DCB=(RECFM=FB,LRECL=500) and is filled with 
three veee long lines of text following the usual SMTP commands and 
headers[*]. The text appeared in my mailbox alright... No truncation, no 
wrapping.

Cheers,

Jantje.

[*]
HELO MAILSERV
MAIL FROM:jan...@mydomain.com
RCPT TO:jan...@mydomain.com
DATA
FROM:jan...@mydomain.com
TO:jan...@mydomain.com
SUBJECT:TEST ONE

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-24 Thread Knutson, Sam
The RFC for SMTP limits it 1024 actually says 1000 not including header/control 
information.  I have run into this when want to using XMITIP with some SPOOL 
data.

I have not had any problems emailing Health Checker reports which are not very 
wide or output with much longer lines. 
At one time I used SMTP native but now use XMITIP invoked from IOF (IOFSEND) 
for most things or XMITIP itself. 

    Best Regards, 

    Sam Knutson, GEICO 
    System z Team Leader 
    mailto:sknut...@geico.com 
    (office)  301.986.3574 
    (cell) 301.996.1318  
    
Think big, act bold, start simple, grow fast... 


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Jan MOEYERSONS
Sent: Friday, September 24, 2010 6:30 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: HealthChecker vs SMTP - 1 : 0

On Thu, 23 Sep 2010 07:46:44 -0700, Smith, Sean M 
sean.m.sm...@bankofamerica.com wrote:

I fought my way through
it far enough yesterday to realize that SMTP has a documented
restriction for the dataset of an LRECL of 243 or less (although it will
take up to 250).  

H... Maybe the docu is out of date? I just ran:

//*
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN  DD DUMMY
//SYSPRINT   DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD DISP=SHR,DSN=JANTJE.FIVE100

where JANTJE.FIVE100 has DCB=(RECFM=FB,LRECL=500) and is filled with 
three veee long lines of text following the usual SMTP commands and 
headers[*]. The text appeared in my mailbox alright... No truncation, no 
wrapping.

Cheers,

Jantje.

[*]
HELO MAILSERV
MAIL FROM:jan...@mydomain.com
RCPT TO:jan...@mydomain.com
DATA
FROM:jan...@mydomain.com
TO:jan...@mydomain.com
SUBJECT:TEST ONE


This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-23 Thread Smith, Sean M
Thanks Stephen, I appreciate the reality check.  I fought my way through
it far enough yesterday to realize that SMTP has a documented
restriction for the dataset of an LRECL of 243 or less (although it will
take up to 250).  I used an old friend IEBGENER to truncate the file
from FBA 256 to FB 250 and then sent it via SMTPNOTE. Somewhere along
the way the trailing spaces were removed so the actual email is very
readable.

So I wonder, in all the documentation I have read about HealthChecker I
see suggestions for automation to email the exception reports but from
what I can tell, without tweaking, the reports cannot be sent.  Curious
to see what IBM would say about the added complexity built into this
process. 

Sean Smith
Operating Systems Support
Bank of America


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Stephen Hall
Sent: Wednesday, September 22, 2010 10:36 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: HealthChecker vs SMTP - 1 : 0

Date:Wed, 22 Sep 2010 08:16:51 -0700
From:Smith, Sean M sean.m.sm...@bankofamerica.com
Subject: HealthChecker vs SMTP - 1 : 0

SMTP and HealthChecker do not seem to want to get along.  The 
HealthChecker HZSPRINT reports are LRECL 256 and SMTP is very snotty 
about something so wide.  Perhaps it is simply that I am using IEBGENER

to copy the email header data and append the report.  Does anyone have 
sample JCL they can share to email a HZSPRINIT report?

Sean Smith
Bank of America

Hi Sean

I had the same problems, so in the end I wrote a rexx exec to append the
report to the SMTP header stuff:
We have a STC which is invoked at IPL time which writes the output of
HZSPRINT to a GDG.

Here is the JCL:

//HCEMAILEXEC  PGM=IRXJCL,PARM='HZSPRINT'
//SYSEXECDD   DISP=SHR,DSN=dataset where HZSPRINT rexx lives
//INFILE DD   DISP=SHR,DSN=SYS9.HCHK.A02.REPORT(0)  == output from
HZSPRINT
//SYSTSPRT   DD   SYSOUT=(B,SMTP)

Rexx exec :

/* REXX
  ++
  | Outline: Read and extract healthchecker exception report   |
  | email to mainframe support for analysis|
  ++
  ++
  | Write Mail Header info |
  ++
*/
sysid = MVSVAR('SYSNAME')
zsysid = MVSVAR('SYMDEF','zsysname')
nodenam = MVSVAR('SYMDEF','jesnode')

Header:
say 'HELO ' nodenam
say 'MAIL FROM:s...@z'sysid'.x.y.'
say 'RCPT TO:myname.surn...@email.address '
say 'DATA   '
say 'TO:myname.surn...@email.address'
say 'SUBJECT:  Health Checker Report for ' sysid
say '   '
/*
  ++
  |  Get Health Checker report |
  ++
*/
execio * diskr INFILE ( stem HCrep. finis )
Process:
Say ' Health Checker Report for LPAR:' sysid Say ' '
say ' Complete report is in dataset: SYS9.HCHK.'zsysid'.REPORT(0)'
Say ' '
say ' Please review and action as appropriate.'
Say ' '
do Cnt1 = 1 to HCrep.0
x = strip(HCrep.cnt1,'t')
len = length(x)
y = substr(x,2,len)
say y
end
/*
  ++
  | complete data with a dot '.'   |
  ++
*/
say '.'
exit


HTH

Stephen Hall
Mainframe Platform Manager
INSURANCE AUSTRALIA GROUP (IAG)





--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


HealthChecker vs SMTP - 1 : 0

2010-09-22 Thread Smith, Sean M
SMTP and HealthChecker do not seem to want to get along.  The
HealthChecker HZSPRINT reports are LRECL 256 and SMTP is very snotty
about something so wide.  Perhaps it is simply that I am using IEBGENER
to copy the email header data and append the report.  Does anyone have
sample JCL they can share to email a HZSPRINIT report?

Sean Smith
Bank of America

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: HealthChecker vs SMTP - 1 : 0

2010-09-22 Thread Stephen Hall
Date:Wed, 22 Sep 2010 08:16:51 -0700
From:Smith, Sean M sean.m.sm...@bankofamerica.com
Subject: HealthChecker vs SMTP - 1 : 0

SMTP and HealthChecker do not seem to want to get along.  The
HealthChecker HZSPRINT reports are LRECL 256 and SMTP is very snotty
about something so wide.  Perhaps it is simply that I am using IEBGENER
to copy the email header data and append the report.  Does anyone have
sample JCL they can share to email a HZSPRINIT report?

Sean Smith
Bank of America

Hi Sean

I had the same problems, so in the end I wrote a rexx exec to append the report 
to the SMTP header stuff:
We have a STC which is invoked at IPL time which writes the output of HZSPRINT 
to a GDG.

Here is the JCL:

//HCEMAILEXEC  PGM=IRXJCL,PARM='HZSPRINT'
//SYSEXECDD   DISP=SHR,DSN=dataset where HZSPRINT rexx lives
//INFILE DD   DISP=SHR,DSN=SYS9.HCHK.A02.REPORT(0)  == output from HZSPRINT
//SYSTSPRT   DD   SYSOUT=(B,SMTP)

Rexx exec :

/* REXX
  ++
  | Outline: Read and extract healthchecker exception report   |
  | email to mainframe support for analysis|
  ++
  ++
  | Write Mail Header info |
  ++
*/
sysid = MVSVAR('SYSNAME')
zsysid = MVSVAR('SYMDEF','zsysname')
nodenam = MVSVAR('SYMDEF','jesnode')

Header:
say 'HELO ' nodenam
say 'MAIL FROM:s...@z'sysid'.x.y.'
say 'RCPT TO:myname.surn...@email.address '
say 'DATA   '
say 'TO:myname.surn...@email.address'
say 'SUBJECT:  Health Checker Report for ' sysid
say '   '
/*
  ++
  |  Get Health Checker report |
  ++
*/
execio * diskr INFILE ( stem HCrep. finis )
Process:
Say ' Health Checker Report for LPAR:' sysid
Say ' '
say ' Complete report is in dataset: SYS9.HCHK.'zsysid'.REPORT(0)'
Say ' '
say ' Please review and action as appropriate.'
Say ' '
do Cnt1 = 1 to HCrep.0
x = strip(HCrep.cnt1,'t')
len = length(x)
y = substr(x,2,len)
say y
end
/*
  ++
  | complete data with a dot '.'   |
  ++
*/
say '.'
exit


HTH

Stephen Hall
Mainframe Platform Manager
INSURANCE AUSTRALIA GROUP (IAG)





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html