* REQ: Queue control?
@ 1997-10-01 4:00 sapporo_guy
1997-10-01 4:00 ` Mark D. Schuster
1997-10-02 4:00 ` Data64
0 siblings, 2 replies; 6+ messages in thread
From: sapporo_guy @ 1997-10-01 4:00 UTC (permalink / raw)
My nightly batch queue creates tons of .log files from our automated
system, all of which print wasting TONS of paper.
I'd submit jobs /NOPRINT , etc, but the system this crud comes from
doesn't have an OPTION for submitting this stuff from command line --
it's all menu driven & the vendor states the ONLY way they can help me
change this stuff is to make a change IN THE COMPILED CODE!!!
What i'd LIKE to do is Stop the queue & run a job that looks at my queue,
finds anything that's .LOG and DELETEs the entry. However, my DCL
needs work.
Anyone know of something already around that does this? I can't find
anything at the Decus site (at least nothing this specific). Ideas?
Suggestions?
Thanks!
S.
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: REQ: Queue control?
1997-10-01 4:00 REQ: Queue control? sapporo_guy
@ 1997-10-01 4:00 ` Mark D. Schuster
1997-10-02 4:00 ` Robert Koehler
1997-10-02 4:00 ` Data64
1 sibling, 1 reply; 6+ messages in thread
From: Mark D. Schuster @ 1997-10-01 4:00 UTC (permalink / raw)
sapporo_guy@usa.net wrote:
>
> My nightly batch queue creates tons of .log files from our automated
> system, all of which print wasting TONS of paper.
>
> I'd submit jobs /NOPRINT , etc, but the system this crud comes from
> doesn't have an OPTION for submitting this stuff from command line --
> it's all menu driven & the vendor states the ONLY way they can help me
> change this stuff is to make a change IN THE COMPILED CODE!!!
How about something a little more simple...In the 'menu'.com or the
'user' Login.Com for this *batch* process add the line--in the batch
portion, if there is one:
$ Submit :== Submit/NoPrint
Now when the menu option or application is run it will not print your
log file. However, if you're doing a Submit/Remote, you're correct, the
/NoPrint switch is not an option.
> What i'd LIKE to do is Stop the queue & run a job that looks at my queue,
> finds anything that's .LOG and DELETEs the entry. However, my DCL
> needs work.
>
> Anyone know of something already around that does this? I can't find
> anything at the Decus site (at least nothing this specific). Ideas?
> Suggestions?
>
> Thanks!
--
Mark D. Schuster, Systems Analyst hawkeye@kodak.com
Eastman Kodak Company Phone: (716) 477-5744
1/56/KP MC: 24503 FAX: (716) 477-1018
Rochester, NY 14652-4503 * Practice Save Computing *
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: REQ: Queue control?
1997-10-01 4:00 ` Mark D. Schuster
@ 1997-10-02 4:00 ` Robert Koehler
0 siblings, 0 replies; 6+ messages in thread
From: Robert Koehler @ 1997-10-02 4:00 UTC (permalink / raw)
Mark D. Schuster (hawkeye@kodak.com) wrote:
: sapporo_guy@usa.net wrote:
: > I'd submit jobs /NOPRINT , etc, but the system this crud comes from
: > doesn't have an OPTION for submitting this stuff from command line --
: > it's all menu driven & the vendor states the ONLY way they can help me
: > change this stuff is to make a change IN THE COMPILED CODE!!!
: How about something a little more simple...In the 'menu'.com or the
: 'user' Login.Com for this *batch* process add the line--in the batch
: portion, if there is one:
: $ Submit :== Submit/NoPrint
Based on what's been said, I suspect the software is calling $SNDJBC, not
using a DCL submit command. IMHO the suggestions to assign sys$print at some
point are a better idea.
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | System Sciences Division
Flight Software Team |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: REQ: Queue control?
1997-10-01 4:00 REQ: Queue control? sapporo_guy
1997-10-01 4:00 ` Mark D. Schuster
@ 1997-10-02 4:00 ` Data64
1997-10-02 4:00 ` Ed Wilts
1997-10-02 4:00 ` Dane Maslen
1 sibling, 2 replies; 6+ messages in thread
From: Data64 @ 1997-10-02 4:00 UTC (permalink / raw)
On Wed, 01 Oct 1997 17:36:30 -0600, sapporo_guy@usa.net wrote:
>My nightly batch queue creates tons of .log files from our automated
>system, all of which print wasting TONS of paper.
>
>I'd submit jobs /NOPRINT , etc, but the system this crud comes from
>doesn't have an OPTION for submitting this stuff from command line --
>it's all menu driven & the vendor states the ONLY way they can help me
>change this stuff is to make a change IN THE COMPILED CODE!!!
>
>What i'd LIKE to do is Stop the queue & run a job that looks at my queue,
>finds anything that's .LOG and DELETEs the entry. However, my DCL
>needs work.
>
>Anyone know of something already around that does this? I can't find
>anything at the Decus site (at least nothing this specific). Ideas?
>Suggestions?
>
>Thanks!
>
>S.
>
>-------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
The simplest method would be to define a logical print queue that is
not mapped to any printer device. When the batch jobs execute, the
Login.com should make the logical SYS$PRINT point to this logical
print que. This would cause all the unwanted print entries to get
submitted to this logical print que. Then it is just a matter of
deleting the print entries.
BTW, I have never tried running a batch job with SYS$PRINT pointing to
a null string (" "). You might want to try that.
Hope this helps,
Data64
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: REQ: Queue control?
1997-10-02 4:00 ` Data64
@ 1997-10-02 4:00 ` Ed Wilts
1997-10-02 4:00 ` Dane Maslen
1 sibling, 0 replies; 6+ messages in thread
From: Ed Wilts @ 1997-10-02 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]
In article <3432fd7e.10871857@nntp.ix.netcom.com>, Data64@usa.net (Data64) writes:
> On Wed, 01 Oct 1997 17:36:30 -0600, sapporo_guy@usa.net wrote:
>
>>My nightly batch queue creates tons of .log files from our automated
>>system, all of which print wasting TONS of paper.
>>
>>What i'd LIKE to do is Stop the queue & run a job that looks at my queue,
>>finds anything that's .LOG and DELETEs the entry. However, my DCL
>>needs work.
>>
>>Anyone know of something already around that does this? I can't find
>>anything at the Decus site (at least nothing this specific). Ideas?
>>Suggestions?
>>
>
> The simplest method would be to define a logical print queue that is
> not mapped to any printer device. When the batch jobs execute, the
> Login.com should make the logical SYS$PRINT point to this logical
> print que. This would cause all the unwanted print entries to get
> submitted to this logical print que. Then it is just a matter of
> deleting the print entries.
>
> BTW, I have never tried running a batch job with SYS$PRINT pointing to
> a null string (" "). You might want to try that.
You can't do this, but there are a couple of NULL symbionts available that take
every job "printed" to the specified queue and through them into the bit
bucket. We've got one of these running here. Mine was written by Arne Vajh�j
back in 1991. It's written in Macro, but is easy to install - you don't need
to know any Macro to install it.
.../Ed
--
Ed Wilts
Information Technology Services Division, Province of BC
mailto:Ed.Wilts@GEMS1.Gov.BC.CA Phone: (250) 387-5302 Fax: (250) 387-5231
Disclaimer: The opinions and statements contained in this posting are the sole
responsibility of the author and have not in any way been reviewed or approved
by my employer or any network service.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: REQ: Queue control?
1997-10-02 4:00 ` Data64
1997-10-02 4:00 ` Ed Wilts
@ 1997-10-02 4:00 ` Dane Maslen
1 sibling, 0 replies; 6+ messages in thread
From: Dane Maslen @ 1997-10-02 4:00 UTC (permalink / raw)
Data64 <Data64@usa.net> wrote in article
<3432fd7e.10871857@nntp.ix.netcom.com>...
> On Wed, 01 Oct 1997 17:36:30 -0600, sapporo_guy@usa.net wrote:
>
> >My nightly batch queue creates tons of .log files from our automated
> >system, all of which print wasting TONS of paper.
> >
> >I'd submit jobs /NOPRINT , etc, but the system this crud comes from
> >doesn't have an OPTION for submitting this stuff from command line --
> >it's all menu driven & the vendor states the ONLY way they can help me
> >change this stuff is to make a change IN THE COMPILED CODE!!!
> >
> >What i'd LIKE to do is Stop the queue & run a job that looks at my
queue,
> >finds anything that's .LOG and DELETEs the entry. However, my DCL
> >needs work.
> >
> The simplest method would be to define a logical print queue that is
> not mapped to any printer device. When the batch jobs execute, the
> Login.com should make the logical SYS$PRINT point to this logical
> print que. This would cause all the unwanted print entries to get
> submitted to this logical print que. Then it is just a matter of
> deleting the print entries.
>
> BTW, I have never tried running a batch job with SYS$PRINT pointing to
> a null string (" "). You might want to try that.
Defining SYS$PRINT to be anything than isn't a valid queue will quite
happily consign the batch job logs to the bit bucket.
Depending on the exact requirements, one of the following might be the
correct approach:
a) Define SYS$PRINT in the system logical name table. This will of course
affect all batch jobs unless users redefine it themselves.
b) Define SYS$PRINT in the process logical name table during login. If all
the batch jobs in question run as the same username, this can be done in
that user's LOGIN.COM. If the batch jobs run as various usernames but all
on the same batch queue, it could be done conditionally in SYLOGIN, e.g.
$ IF F$GETQUI("DISPLAY_JOB","QUEUE_NAME",,"THIS_JOB") .EQS. "..."
$ THEN
$ DEFINE SYS$PRINT NL:
$ ENDIF
where you replace "..." by the appropriate queue name of course.
--
Dane Maslen
E-mail: maslende@bp.com
My views are my own and no-one else's.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-10-02 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-01 4:00 REQ: Queue control? sapporo_guy
1997-10-01 4:00 ` Mark D. Schuster
1997-10-02 4:00 ` Robert Koehler
1997-10-02 4:00 ` Data64
1997-10-02 4:00 ` Ed Wilts
1997-10-02 4:00 ` Dane Maslen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox