HP3000-L Archives

September 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Denis St-Amand <[log in to unmask]>
Reply To:
Denis St-Amand <[log in to unmask]>
Date:
Fri, 28 Sep 2001 08:46:05 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
And what about that one ?

!FILE SA286P;DEV=DISC;SPOOL;CCTL
!RUN SA286
!SPOOLF SA286P;PRINT;DEV=MISSTD
!SPOOLF SA286P;PRINT;DEV=HOSTD
!SPOOLF SA286P;PRINT;DEV=OPSTD
!PURGE SA286P

If there are chances same job runs twice or more at same time, theyre me be
some conflicts...  To avoid this, here is another (little more complicated)
solution.  Let's imagine you create a dummy printer on system named "TEMPLP"
and just OPENQ without really spooling to it.  Then, you could do the
following

!FILE SA286P;DEV=TEMPLP,1  <== note low priority...
!RUN SA286P
!
!COMMENT  Printing resulting spoolfile on MISSTD
!SPOOLF O@;SELEQ=[JOBNUM=#!HPJOBTYPE!HPJOBNUM AND FILEDES=SA286P &
! AND DEV=TEMPLP];PRINT;DEV=MISSTD
!
!COMMENT  Printing resulting spoolfile on HOSTD
!SPOOLF O@;SELEQ=[JOBNUM=#!HPJOBTYPE!HPJOBNUM AND FILEDES=SA286P &
! AND DEV=TEMPLP];PRINT;DEV=HOSTD
!
!COMMENT  Printing resulting spoolfile on OPSTD
!SPOOLF O@;SELEQ=[JOBNUM=#!HPJOBTYPE!HPJOBNUM AND FILEDES=SA286P &
! AND DEV=TEMPLP];PRINT;DEV=OPSTD
!
!COMMENT Deleting temporary spoolfile.
!SPOOLF O@;SELEQ=[JOBNUM=#!HPJOBTYPE!HPJOBNUM AND FILEDES=SA286P &
! AND DEV=TEMPLP];DELETE
!
...

Hope this will help...
--
==================================================
Denis St-Amand (Remove "removeit." from email address)
==================================================
"Harmik Minassian" <[log in to unmask]> wrote in message
news:9p1ikl01jbu@enews2.newsguy.com...
> Jeff Vance writes:
>
> >   :run sa286 >discfile
> >   :save discfile
> >   :spoolf discfile;print;dev=misstd
> >   :spoolf discfile;print;dev=hostd
> >   :spoolf discfile;print;dev=opstd
>
> The problem with this is that if the original output file has CCTL, it
will
> be rendered useless by SPOOLF, since it adds CCTL to the file all over
> again. This is a very irritating flaw in the SPOOLF command. The command
> will work fine if you refer to the spool file number, which is useless if
> the copying of the file is to be done unattended, as in this example. The
> only way I have been able to do this was with ESPUL (from RAC Consulting),
> which can make an exact clone of the original spool file using the spool
> file name as reference.
>
> Harmik
> Trento Technology Inc
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2