HP3000-L Archives

October 2001, Week 4

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:
Connie Samuel <[log in to unmask]>
Reply To:
Connie Samuel <[log in to unmask]>
Date:
Mon, 22 Oct 2001 19:53:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Below is listed a job that I was hoping would automate our backup.
Unfortunately, no matter what day it is, the computer returns a false at
the end of the first IF statement.

I am hoping someone on the list can point out where I am going wrong with
this job.

Thanks in advance for your help.

/l all
    1     !JOB BACKDRV,MANAGER/password.SYS;PRI=CS;INPRI=8
    2     !
    3     !COMMENT  This is the backup that should be run on
    4     !COMMENT  weekdays
    5     !
    7     !stream BACKDRV.JOB.SYS;IN=1
    8     !If    (HPMonth >= 9 and HPMonth <= 6) and &
    9     !      (HPDay >= 2  or HPDay<= 6) Then
   10     !strmu FOB.job
   12     !   Echo Run backups Monday thru Friday
   13     !   Echo from Sep. To Jun.
   14     !strmu FOB.job
   15     !ElseIf(HPMonth >= 7 and HPMonth <= 8) and &
   16     !      (HPDay > 1 or HPDay < 6) Then
   18     !   Echo Run bcckups on Friday, Saturday, and Sunday
   19     !   Echo from July. to Aug.
   20     !Else
   21     !TELL MANAGER.SYS ------
   22     !    Exit
   23     !    EndIf
   24     !EOJ
/

Connie Samuel
Clatsop Community College / Astoria, Oregon
503/338-2320
[log in to unmask] / www.clatsop.cc.or.us

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

ATOM RSS1 RSS2