Re: SPSAVE on spoolfiles
- From: Paul H Christidis <pchristidis@xxxxxxx>
- Date: Tue, 28 Jun 2005 10:33:29 -0700
While Mike makes an excellent suggestion of intercepting the 'file'
command, it does not address four additional situations:
1. $stdlists - These could be set to 'spsave' if you have STREAMX and ALL
job streaming is done by that utility. One would need to add the
following line into the file 'streamx.data.vesoft':
$JOBPARMS-ALWAYS @,@.@ @.@.@ @,@.@ "SPSAVE"
2. Spool files directly opened by the intrinsic FOPEN/HPFOPEN.
3. Programmatically issuing the 'file' command using the COMMAND
intrinsic (NOT the HPCICOMMAND)
4. Programmatically streaming a job and thus bypassing STREAMX.
BTW a slight improvement on mike's UDC would be:
file
anyparm fparms
errclear
continue
file !fparms;spsave >xfeqrzlt
if hpcierr = 0 OR hpcierr = -9264 then
errclear
else
print xfeqrzlt;page=0
endif
purge xfeqrzlt,temp >$null
Regards
Paul Christidis
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
----------------------------------------------------------------------------------------
Mike Hornsby <mikeh
@beechglen.com>
Sent by: HP-3000 Systems Discussion <HP3000-L@xxxxxxxxxxxxx>
06/28/2005 06:15 AM
Please respond to Mike Hornsby
To: HP3000-L@xxxxxxxxxxxxx
cc:
Subject: Re: [HP3000-L] SPSAVE on spoolfiles
Tony Summers wrote:
>Is it possible to configure an HP3000 so that all spoolfiles are
>spsave'd by default ?
>
>
With limited testing, I found that the FILE command can be intercepted
with a UDC
that uses the ANYPARM function to append the ;spsave directive. For
anything other
than a spoolfile creation, the ;spsave seems to be ignored. Thus this
UDC could be
added at the user, account, or system level to turn on spsave by default.
Cordially,
Mike Hornsby
Beechglen Development Inc.
Support for HP3000s;from=1988;to=2020;spsave
513-922-0509
file
ANYPARM fparms
file !fparms;spsave
***
* 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 *
.
- Follow-Ups:
- Re: SPSAVE on spoolfiles
- From: Mike Hornsby
- Re: SPSAVE on spoolfiles
- References:
- Re: SPSAVE on spoolfiles
- From: Mike Hornsby
- Re: SPSAVE on spoolfiles
- Prev by Date: Re: SCO vs. Linux
- Next by Date: Looking for Conversion Help
- Previous by thread: Re: SPSAVE on spoolfiles
- Next by thread: Re: SPSAVE on spoolfiles
- Index(es):
Relevant Pages
|
Loading