« Return to Thread: How do I clear the printers?

Re: How do I clear the printers?

by somitcw-2 :: Rate this Message:

Reply to Author | View in Thread

--- In H390-MVS@...,
 "Kevin Leonard" <kleonard_list@...> wrote:

>> How exactly do I go about clearing out the printers?
>> JES2 is refusing to shutdown because of this:
>> 00-    $du,started                    
>>       $HASP000 PRINTER1  00E DRAINING
>>       $HASP000 PRINTER2  00F DRAINING
> You may have had printer setup messages outstanding, like:
> $HASP190 INIT     SETUP -- PRINTER2 -- F = 0001 -- C = 6
>-- T = QN
> and JES2 is waiting for a $SPRT.
> --

   To get to the real problem, you shouldn't be
starting the printers unless you are using them.

   Update SYS1.JES2PARM(JES2PARM) to:

   Note the "START" is changed to "DRAIN":

PRINTER1 CLASS=A,SEP,AUTO,DSPLTCEL,NOPAUSE,UNIT=00E,DRAIN, +
  UCS=QN,FCB=6
PRINTER2 CLASS=Z,SEP,AUTO,DSPLTCEL,NOPAUSE,UNIT=00F,DRAIN, +
  UCS=QN,FCB=6

PUNCH1 CLASS=B,NOSEP,AUTO,PAUSE,UNIT=00D,DRAIN

READER1 AUTH=0,CLASS=A,NOHOLD,MSGCLASS=C,PRLCL,PULCL,UNIT=00C,DRAIN
READER2 AUTH=0,CLASS=A,NOHOLD,MSGCLASS=C,PRLCL,PULCL,UNIT=10C,DRAIN
READER3 AUTH=0,CLASS=A,NOHOLD,MSGCLASS=C,PRLCL,PULCL,UNIT=20C,DRAIN
READER4 AUTH=0,CLASS=A,NOHOLD,MSGCLASS=C,PRLCL,PULCL,UNIT=30C,DRAIN


   Note the commented out lines:

$TOSC1,D=J
$TOSC2,D=J
$TOSC3,D=T
$TOSC4,D=T
* $CA,ALL
* $SA,ALL
$SI1-I4
* $SRDR1
* $SPRT1
* $SPRT2
$VS,'S BSPPILOT,PARM=NOWTO'
$VS,'S BSPSETPF,PARM=NOREPLYU'
* $VS,'S DYNABLDL'
$VS,'S DYNAMASK'
$VS,'S NET'
$VS,'MN JOBNAMES,T'
$VS,'MN SESS,T'

   You will find the system runs much better when
you are allowed to control readers, printers, and
other pieces of your system.

P.S. When you muff updating SYS1.JES2PARM(JES2PARM)
to the extent that JES2 won't start, the fall back
is to start JES2 using the JES2PARM in SYS1.PARMLIB:

/s jes2,p=parmlib

 « Return to Thread: How do I clear the printers?