Re: How to cycle SMTP?

2006-03-09 Thread Staller, Allan
snip
I want to be sure to get the TIMEZONE updated next month when Daylight
Saving Time starts in the USA.  I presume cycling SMTP is necessary and
appropriate, but can't find any specific info.
/snip

IF the TZ variable is set properly, the recycle should not be necessary.
The 
DATE/Time service will automatically adjust for DSD. The TZ variable
should 
Look something like EST5EDT (or whatever is appropriate for your
timezone.

IIRC the EST stands for east of Greenwich the 5 is the offset and EDT
indicates
US daylight savings time.

The TZ value is usually set in /etc/profile with code something like:

TZ=EST5EDT; export TZ

HTH,

P.S. I expect maintenance for this function somtime in the near future
to handle the changes from last year's energy bill.

--
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


Re: How to cycle SMTP?

2006-03-09 Thread Ed Finnell
 
In a message dated 3/9/2006 7:53:05 A.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

P.S. I  expect maintenance for this function somtime in the near future
to handle  the changes from last year's energy bill.





Then you have to reapply the LE start and end parms for DST. The Energy  
Secretary has 9 months to pass an up or down recommendation
for the change. Shouldn't kick in 'til 2007. Think only my quartz  crystal 
watch will have to be reset manually. Don't know about Windows or *Nix.  Don't 
know what happens with all the RSA cards that have one minute drift  between 
clock and MF for hash key.  

--
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


How to cycle SMTP?

2006-03-08 Thread Larry Burch
Can the SMTP task be cycled manually, with  P SMTP and S SMTP commands
from the console (i.e., without cycling the TCPIP task)?

I want to be sure to get the TIMEZONE updated next month when Daylight
Saving Time starts in the USA.  I presume cycling SMTP is necessary and
appropriate, but can't find any specific info.

We're at OS390.210; we don't have a Test system.

 Larry M. Burch[EMAIL PROTECTED] 505-768-2948
Information Technology Specialistfor
City of Albuquerque
 Albuquerque  NM  USA  87102

--
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


Re: How to cycle SMTP?

2006-03-08 Thread Ed Finnell
 
In a message dated 3/8/2006 4:44:44 P.M. Central Standard Time,  
[EMAIL PROTECTED] writes:

Can the  SMTP task be cycled manually, with  P SMTP and S SMTP  commands
from the console (i.e., without cycling the TCPIP  task)?




Yes. If it's in the AUTOLOG it will restart by it's own self. Umm, not even  
a 'one pack rescue system'?

--
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


Re: How to cycle SMTP?

2006-03-08 Thread Kittendorf, Craig
Yes to both.  You need to change the config member then manually p smtp.
If tcp parms have autolog, it will restart, else you manually s smtp.

craig

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Larry Burch
Sent: Wednesday, March 08, 2006 5:44 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: How to cycle SMTP?

Can the SMTP task be cycled manually, with  P SMTP and S SMTP
commands
from the console (i.e., without cycling the TCPIP task)?

I want to be sure to get the TIMEZONE updated next month when Daylight
Saving Time starts in the USA.  I presume cycling SMTP is necessary and
appropriate, but can't find any specific info.

We're at OS390.210; we don't have a Test system.

 Larry M. Burch[EMAIL PROTECTED] 505-768-2948
Information Technology Specialistfor
City of Albuquerque
 Albuquerque  NM  USA  87102

--
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


Re: How to cycle SMTP?

2006-03-08 Thread Steve Comstock

Larry Burch wrote:

Can the SMTP task be cycled manually, with  P SMTP and S SMTP commands
from the console (i.e., without cycling the TCPIP task)?

I want to be sure to get the TIMEZONE updated next month when Daylight
Saving Time starts in the USA.  I presume cycling SMTP is necessary and
appropriate, but can't find any specific info.

We're at OS390.210; we don't have a Test system.



For our website on our mainframe, I have a small
CGI that responds to requests to send emails from
the mainframe; it submits a job that has as its first line:

/*$VS, 'S SMTP'

the job has only a single, IEFBR14 job; but the above
command is issued and it starts up SMTP.

The CGI then issues a sleep request to give SMTP time to initialize

Then it submits a job that uses IEBGENER to pass a mail file to
the SMTP reader

Then it sleeps again

Then it submits a job that has this as its first line:

/*$VS, 'P SMTP'

this stops SMTP.

In this way, we can have a low level of email activity
but don't hang around long enough to get used as a relay
in the SMTP networks.

Hope this helps. Or is at least interesting.

Kind regards,

-Steve Comstock

--
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