HP3000-L Archives

June 2001, Week 3

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:
Patrick Santucci <[log in to unmask]>
Reply To:
Patrick Santucci <[log in to unmask]>
Date:
Fri, 15 Jun 2001 10:33:06 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Andres,

You can also shorten the long STORE line by using the formal file designator
SYSLIST instead of redirected output. Combine this with the indirect store
file and you could do the following:

Create a file MYFILES with your store list in it, as Jon Backus suggests,
containing:

/ - /HPSPOOL/ - /EDUC110/ - /MANMAN/SQL/ - /BIND/

Then you use a file equation for SYSLIST before your STORE command and your
job looks like this:

!RENAME COPYLST.JOBS.SYS,YESTCP.JOBS.LST
!FILE SYSLIST=COPYLST.JOBS.SYS;REC=-132,,F,ASCII;DISC=200000;SAVE
!STORE ^MYFILES;*TAPE1;DIRECTORY;SHOW

Caution: be sure to allow enough lines in the DISC= parm or your file will
be incomplete (can't remember if the STORE aborts, but if so it would be a
Bad Thing).

Putting ;SAVE on the SYSLIST file equation eliminates the need to do a SAVE
command after the STORE. It also prevents you from losing the listing in
case the STORE aborts before it's done. (It might be important to be able to
see where and why it aborted!)

HTH,
Patrick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Patrick Santucci
HP e3000 Systems Administrator
Cornerstone Brands, Inc.

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

ATOM RSS1 RSS2