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:
Harmik Minassian <[log in to unmask]>
Reply To:
Date:
Mon, 22 Oct 2001 20:25:14 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
I think what you meant to do was:

!If    (HPMonth >= 9 OR HPMonth <= 6) and...

for the Sep to June part. The July and August part should work fine.

Harmik

----- Original Message -----
From: "Connie Samuel" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Monday, October 22, 2001 9:53 PM
Subject: [HP3000-L] Help with a JOB needed


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

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

ATOM RSS1 RSS2