Stuck RSCS LPR printers procedure

2007-02-07 Thread Horlick, Michael
Greetings,

 

I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer. 

 

DRAIN printerid 

FLUSH printerid spid HOLD 

START printerid FORM * 

CHANGE printerid spid NOHOLD

 

Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.

 

While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent. 

 

Is there a difference or a better way?

 

Regards

 

Mike Horlick



Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Peter . Webb
Hi Mike,

 

Don't do use a START command. It will process the queued files, then
ignore any subsequent arrivals. Instead do a DEFINE printerid ASTART.
This will start the printer for all currently queued file, and leave it
ready to process new arrivals.

 

Peter

 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Horlick, Michael
Sent: February 7, 2007 11:36
To: IBMVM@LISTSERV.UARK.EDU
Subject: Stuck RSCS LPR printers procedure

 

Greetings,

 

I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer. 

 

DRAIN printerid 

FLUSH printerid spid HOLD 

START printerid FORM * 

CHANGE printerid spid NOHOLD

 

Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.

 

While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent. 

 

Is there a difference or a better way?

 

Regards

 

Mike Horlick



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot by guaranteed on the Internet.  
The Sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on basis of the information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is the property of the TTC and 
must not be altered or circumvented in any manner.


Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Peter . Webb
Hi Mike,

 

Didn't look at the first part carefully. You can replace the DRAIN,
FLUSH, START and CHANGE with a simple STOP and DEFINE sequence. That's
how we handle it. 

 

Peter 

 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Horlick, Michael
Sent: February 7, 2007 11:36
To: IBMVM@LISTSERV.UARK.EDU
Subject: Stuck RSCS LPR printers procedure

 

Greetings,

 

I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer. 

 

DRAIN printerid 

FLUSH printerid spid HOLD 

START printerid FORM * 

CHANGE printerid spid NOHOLD

 

Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.

 

While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent. 

 

Is there a difference or a better way?

 

Regards

 

Mike Horlick



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot by guaranteed on the Internet.  
The Sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on basis of the information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is the property of the TTC and 
must not be altered or circumvented in any manner.


Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Aria Bamdad
How do you know that the printer is stuck?  If the job has been in
the queue or partly sent by RSCS, it could be that the printer needs
intervention, like needing paper or toner.  Doing what you do will cause
these jobs to restart and hang again!

Aria.
On Wed, 7 Feb 2007 11:48:10 -0500 you said:

Greetings,



I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer.



DRAIN printerid

FLUSH printerid spid HOLD

START printerid FORM *

CHANGE printerid spid NOHOLD



Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.



While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent.



Is there a difference or a better way?



Regards



Mike Horlick


Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Horlick, Michael
So just 

 

STOP printerid

DEFINE printerid ASTART   (no other operands).

 

?

 

Mike

 



From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: February 7, 2007 11:48 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Stuck RSCS LPR printers procedure

 

Hi Mike,

 

Didn't look at the first part carefully. You can replace the DRAIN,
FLUSH, START and CHANGE with a simple STOP and DEFINE sequence. That's
how we handle it. 

 

Peter 

 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Horlick, Michael
Sent: February 7, 2007 11:36
To: IBMVM@LISTSERV.UARK.EDU
Subject: Stuck RSCS LPR printers procedure

 

Greetings,

 

I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer. 

 

DRAIN printerid 

FLUSH printerid spid HOLD 

START printerid FORM * 

CHANGE printerid spid NOHOLD

 

Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.

 

While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent. 

 

Is there a difference or a better way?

 

Regards

 

Mike Horlick



The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review retransmission dissemination or other use of or
taking of any action in reliance upon this information by persons or
entities other than the intended recipient or delegate is strictly
prohibited. If you received this in error please contact the sender and
delete the material from any computer. The integrity and security of
this message cannot by guaranteed on the Internet. The Sender accepts no
liability for the content of this e-mail or for the consequences of any
actions taken on basis of the information provided. The recipient should
check this e-mail and any attachments for the presence of viruses. The
sender accepts no liability for any damage caused by any virus
transmitted by this e-mail. This disclaimer is the property of the TTC
and must not be altered or circumvented in any manner. 



Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Horlick, Michael
You have a very good point. In our case, most of the reports come from
CICS and are just a few pages. 

I will however check the number of blocks for the file currently being
stuck and if it is greater than a certain number of blocks then the
procedure will not do the commands.

Thanks

Mike 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Aria Bamdad
Sent: February 7, 2007 11:51 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Stuck RSCS LPR printers procedure

How do you know that the printer is stuck?  If the job has been in
the queue or partly sent by RSCS, it could be that the printer needs
intervention, like needing paper or toner.  Doing what you do will cause
these jobs to restart and hang again!

Aria.
On Wed, 7 Feb 2007 11:48:10 -0500 you said:

Greetings,



I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for
files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer.



DRAIN printerid

FLUSH printerid spid HOLD

START printerid FORM *

CHANGE printerid spid NOHOLD



Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.



While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent.



Is there a difference or a better way?



Regards



Mike Horlick


Re: Stuck RSCS LPR printers procedure

2007-02-07 Thread Peter . Webb
Hi Mike,

 

That's it. Nice and simple (like me).

 

Peter

 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Horlick, Michael
Sent: February 7, 2007 12:04
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Stuck RSCS LPR printers procedure

 

So just 

 

STOP printerid

DEFINE printerid ASTART   (no other operands).

 

?

 

Mike

 



From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: February 7, 2007 11:48 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Stuck RSCS LPR printers procedure

 

Hi Mike,

 

Didn't look at the first part carefully. You can replace the DRAIN,
FLUSH, START and CHANGE with a simple STOP and DEFINE sequence. That's
how we handle it. 

 

Peter 

 

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Horlick, Michael
Sent: February 7, 2007 11:36
To: IBMVM@LISTSERV.UARK.EDU
Subject: Stuck RSCS LPR printers procedure

 

Greetings,

 

I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer. 

 

DRAIN printerid 

FLUSH printerid spid HOLD 

START printerid FORM * 

CHANGE printerid spid NOHOLD

 

Now I've decided to have the procedure which detects the stuck printer
do the commands to try to fix it and if the status doesn't change the
next time it is called to e-mail our clients help desk.

 

While checking out the RSCS book I see that maybe the RSCS STOP command
, followed by the START command can do the equivalent. 

 

Is there a difference or a better way?

 

Regards

 

Mike Horlick



The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review retransmission dissemination or other use of or
taking of any action in reliance upon this information by persons or
entities other than the intended recipient or delegate is strictly
prohibited. If you received this in error please contact the sender and
delete the material from any computer. The integrity and security of
this message cannot by guaranteed on the Internet. The Sender accepts no
liability for the content of this e-mail or for the consequences of any
actions taken on basis of the information provided. The recipient should
check this e-mail and any attachments for the presence of viruses. The
sender accepts no liability for any damage caused by any virus
transmitted by this e-mail. This disclaimer is the property of the TTC
and must not be altered or circumvented in any manner. 



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot by guaranteed on the Internet.  
The Sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on basis of the information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is the property of the TTC and 
must not be altered or circumvented in any manner.


Stuck RSCS LPR printers procedure

2007-02-07 Thread Les Geer (607-429-3580)
I am trying to set up some automation to try to retry stuck LPR
printing. Currently, every 30 minutes we check the RSCS queues for files
that are older than 2 hours old and if there are some to have our help
desk do the following commands on a stuck printer.


Please see url:
http://www.vm.ibm.com/related/rscs/lprsetup.html

Especially step 11, advanced topics, item 3.  How to avoid hung
LPR links using the TIMEOUT= and FILEHOLD= parameters, in
conjunction with a notify link and RSCS events.



FYI, see the z/VM 5.3 RFA for a new Function Level (530) of RSCS
as a priced feature of z/VM with IPLA pricing.

Best Regards,
Les Geer
IBM z/VM and Linux Development