HP3000-L Archives

July 2004, Week 1

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:
Paul Christidis <[log in to unmask]>
Reply To:
Date:
Tue, 6 Jul 2004 15:36:21 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
HP-3000 Systems Discussion <[log in to unmask]> wrote on 07/06/2004
11:04:41 AM:

> Is there a way to force the stdlist from a job to go directly to a file
> rather than the usual ####.out.hpspool?
>
>
> Thanks
>  John

Hi John,

The short answer to your question is no.  There is no global setting that
will alter the basic behavior of batch jobs.  There are, however, a number
of options that one, with a little effort, could utilize.

1.  You could 'redirect' and append the output of each CI command in the
stream file to the desired file. (drawback:  Modify every CI command of
every stream file.  Some CI commands cannot be re-directed)

2.  Define a system wide UDC or command file that when invoked from a batch
job it takes the batch spoolfile id and copies the current contents to the
desired file. (drawback:  It will not contain final job statistics)

3.  Redefine the 'eoj' command with a UDC or command file and do the same
as above. (advantage: No need to modify every stream file). (drawback: It
will not contain final job stats AND will not 'catch' jobs that abort
before reaching 'eoj').

4.  Have a batch job that monitors the execution of all other jobs (each
job will need to 'register' with the monitoring job through a system wide
logon UDC and a message file), when a 'registered' job terminates the
'monitoring' job copies the corresponding "O####.out.hpspool" file to the
desired destination. (advantage: Will 'catch' entire $stdlist even for
aborting jobs), (drawback: A bit more difficult to implement, there are
some issues with timed reads against message files (INPUT function) in
batch jobs)

BTW. All the above can be done using only CI commands.

I guess I should also ask why?.  Why do you want to 'divert' the $stdlist
of a job?  Are you after the job statistics displayed at the end of the
$stdlist? or you just want a more 'meaningful' $stdlist file name?

Regards
Paul Christidis


> * 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