One other way is to reference the store file list as follows, which eliminates the need for very long lines.
However, note we're not using MPE's store - so I'm not sure if it applies to you.
!...
!RUN BACKUPPL.PUB.ORBIT;PRI=CS
STORE !BRBACK1.group.acct1;*D;SHOW;PROGRESS=2;COMPRESS=2;OPTIMIZE=1
EXIT
!IFERROR
!.... etc
Contents of BRBACK1
@.DATABASE
[log in to unmask]
@.JOB
@.LOG
@.PUB
-DFDB99H.DATABASE
-DFDB98H.DATABASE
-DFAR##.DATABASE
etc
>>> "Jonathan M. Backus" <[log in to unmask]> 15/06/01 11:48:50 >>>
Andres,
It is option two. You include the ! on the continued line.
Thanx,
Jonathan (Jon) M. Backus, MPE-CSM ~ President
Tech Group ~ 15 Catawba Place ~ Hagerstown, MD ~ 21742-6515
Email: [log in to unmask] ~ AIM: JMBackus
Vmail: 301.988.0614 ~ Fmail: 301.714.1854
Web: www.TechGroupMD.com
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Andres j. Ogayar
Sent: Friday, June 15, 2001 3:37 AM
To: [log in to unmask]
Subject: Long lines in jobs
Hi!
A question comes tom mind.
I am making an script for a job to backup parts of the system. Of course
the command line for store is quite long (more than 80 chars):
!Job COPY,MANAGER/xxxxx.SYS
!CONTINUE
!RENAME COPYLST.JOBS.SYS,YESTCP.JOBS.LST
!STORE / - /HPSPOOL/ - /EDUC110/ - /MANMAN/SQL/ - /BIND/ ;
*TAPE1;SHOW;DIRECTORY; >> COPYLST.JOBS.SYS
!SAVE COPYLST.JOBS.SYS
!EOJ
(Job is longer, but these are the important lines).
I want to break the line, and here is the doubt. Should I write:
!STORE / - /HPSPOOL/ - /EDUC110/ - /MANMAN/SQL/ - /BIND/ ; &
*TAPE1;SHOW;DIRECTORY; >> COPYLST.JOBS.SYS
OR:
!STORE / - /HPSPOOL/ - /EDUC110/ - /MANMAN/SQL/ - /BIND/ ; &
! *TAPE1;SHOW;DIRECTORY; >> COPYLST.JOBS.SYS
Thanks in advance,
-- Andres j. Ogayar
-- I.T. Department
-- Raytheon Microelectronics Espaņa (Malaga, Spain)
-- +34.95.224.92.27
* 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 *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|