Subject: | |
From: | |
Reply To: | |
Date: | Thu, 15 Jan 1998 11:52:01 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thanks Paul,
I am having problems here with the user who back me up when I am out of the
office forgetting to put in the proper tape... she remembers the one-word
command to type on the console that does all the daily maintenance including
streaming the backu p job :)
Art "Is it Friday yet? hehehe" Bahrs
>>> "Paul H. Christidis" <[log in to unmask]> 01/15/98 11:23am >>>
Art,
Here is what I have in our site:
The backup job after performing its 'shut down' steps it streams a monitor
job:
....
!comment
!purge Bkupfile.data >$null
!build Bkupfile.data;rec=-72,,f,ascii
!file BK=Bkupfile.data,old
!echo setvar backup_jobnum "#!hpjobtype!hpjobnum" > *BK
!echo setvar bk_ap_code 11 >>*BK
!stream jmonitor.job.sys
!pause 5
!comment
....
And the monitor job in turn checks tha backup job and pages someone in case
of problems (in our case we look for tape requests).
Here is the monitor job:
!job jmonitor,manager.sys;HIPRI;outclass=noprint;pri=cs
!comment
!comment 'Receive' the 'passed' info from the backup job
!comment
!xeq Bkupfile.data
!Purge Bkupfile.data
!showvar backup@
!
!comment
!comment Set some environment variables
!comment
!continue
!xeq profile.cmd
!if bound(bk_ap_code) then
! setvar ap_code bk_ap_code
!else
! setvar ap_code 12
!endif
!setvar stat_code_1 912
!comment
!setvar Loop_Delay 900
!setvar Loop 0
!setvar not_accepting 1627
!setvar Backup_running true
!comment
!comment
!while Backup_running do
! showtime
! continue
! purge *rc >$null
! build rcfile;rec=-100,,f,ascii;msg;temp
! file rc=rcfile,oldtemp
! tell !backup_jobnum Hi there
! setvar Backup_running cierror = not_accepting
! if Backup_running then
! pause !Loop_delay
! setvar Loop Loop + 1
! echo *** LOOP # !Loop ***
! recall > *rc
! echo *** Recall Dummy Record *** >> *rc
! setvar Loop2 0
! setvar recall_eof finfo("*rc",'eof') - 1
! while Loop2 < recall_eof
! setvar Loop2 Loop2 + 1
! input Rc_Text;wait=2 < *rc
! echo !Rc_Text
! if pos("!backup_jobnum/", Rc_Text) <> 0 then
! purge *rc >$null
! pageme.util.sys &
! ;phone='!sysmgr';status=!stat_code_1;appcode=!ap_code;now=on
! endif
! endwhile
! endif
!endwhile
!eoj
Regards
Paul H. Christidis
______________________________ Reply Separator _________________________________
Subject: Re: Problems with the backup tape -Reply
Author: Art Bahrs <[log in to unmask]> at CCGATE
Date: 01/15/98 08:07
<snip>
|
|
|