|
Jim,
A couple more questions here, then I hope I'm good to go.
1) The STRBKUBRM will be run with SBMJOB(*CONSOLE). Normally, BRMS would
restart the controlling subsystem at the end. BRMS won't fall over at the
end because I've done it in the middle, will it? For all I know, the BRMS
console may already be checking to see if the controlling subsystem is up
before trying to start it.
2) My QSTRUP program only takes 40-45 seconds. However, QSYSOPR shows
various things happening after that. For example, the message "STRTCP
completed successfully" doesn't show up for another 5 minutes. Are you
truly moving on in the control group after QSTRUP is done (ie, 40-45
seconds)?
3) If I use a data queue to determine that QSTRUP has ended, it seems to me
that I want to clear this data queue in my BRMS *EXIT program, not in
QSTRUP itself.
I will probably be testing this stuff a week from Saturday and just want to
keep the Saturday time as brief as possible.
Thanks again for your help. These forums are a godsend.
On Thu, Jan 10, 2013 at 3:18 PM, Jim Oberholtzer<
midrangel@xxxxxxxxxxxxxxxxx> wrote:
> Yes you could just start the controlling subsystem but I would make sure
> you put in some control points and error handling. That's when a data
> queue comes in really handy. Have the start up program put an entry
> into the queue. The CL in the control group waits for the data queue
> entry and off you run. Now you don't have to guess how long it takes to
> run the start up program.
>
> Jim Oberholtzer
> Chief Technical Architect
> Agile Technology Architects
>
>
> On 1/10/2013 2:11 PM, Jeff Crosby wrote:
> > Doh! (slapping forehead) You're doing it with a single control group.> I
> > was thinking 2 separate control groups with the first restricted.> Do
> >
> > All I have to do in that CL is start the controlling subsystem, right?
> > you put a delay in that CL to give it some time after the STRSBS is run?> ago
> > I've still got my "restore system to normal state" program from years
> > when I didn't have BRMS and that's what I did.> the
> >
> >
> >
> > On Thu, Jan 10, 2013 at 3:03 PM, Jim Oberholtzer<
> > midrangel@xxxxxxxxxxxxxxxxx> wrote:
> >
> >> > The control group calls the CLP program via *EXITs. Now just start
> is used> >> > console monitor, submit the BRMS job to *CONSOLE and stand back.
> >> >
> >> > Jim Oberholtzer
> >> > Chief Technical Architect
> >> > Agile Technology Architects
> >> >
> >> >
> >> > On 1/10/2013 1:57 PM, Jeff Crosby wrote:
> >>> > > Thanks, Jim.> >> > involved?
> >>> > >
> >>> > > How do you do that with a CL program, when restricted state gets
> >>> > >
> >>> > > What I mean is this. We have the Advanced Job Scheduler, which
> all? As> >> > to
> >>> > > do the restricted state backups. The AJS job command is:
> >>> > >
> >>> > > STRBKUBRM CTLGRP(FULLWTHSYS) SBMJOB(*CONSOLE)
> >>> > >
> >>> > > Are you saying you replaced that with CALL MYCLPGM and it did it
> be, I> >>> > > in that CL program has 2 STRBKUBRM commands in it? That can't
> you're> >> > don't
> >>> > > think, because restricted state will kill your CL program. And
> when you use> >> > much
> >>> > > smarter than that so I'm obviously not understanding something.:)
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > > On Thu, Jan 10, 2013 at 2:26 PM, Jim Oberholtzer<
> >>> > > midrangel@xxxxxxxxxxxxxxxxx> wrote:
> >>> > >
> >>>>> > >> > Jeff,
> >>>>> > >> >
> >>>>> > >> > The main concern with save while active on an *ALLUSR is
> take a LONG> >>>>> > >> > any synch point except *LIB. *SYNCLIB and *SYSDFN may
> libraries on the> >> > time
> >>>>> > >> > to reach a synchronization point with all of the
> point you> >> > system.
> >>>>> > >> >
> >>>>> > >> > If you use *LIB as the save while active synchronization
> groups, one for> >>>>> > >> > should not have any issues, I do it all the time.
> >>>>> > >> >
> >>>>> > >> > I also use the technique you mention with two control
> bring the system> >>>>> > >> > restricted state for what ever is needed there, then
> other libraries.> >>>>> > >> > back up for use and start a save while active on the
> manage the shut> >>>>> > >> >
> >>>>> > >> > I use a control language program to do it so I can
> here:> >> > down
> >>>>> > >> > and start up properly.
> >>>>> > >> >
> >>>>> > >> > Jim Oberholtzer
> >>>>> > >> > Chief Technical Architect
> >>>>> > >> > Agile Technology Architects
> >>>>> > >> >
> >>>>> > >> >
> >>>>> > >> > On 1/10/2013 1:13 PM, Jeff Crosby wrote:
> >>>>> > >> > <snip>
> >>>>>> > >>> > > I read in "Backup Recovery and Media Services
> >>>>>> > >>> > > for OS/400: A Practical Approach" (PDF available
> http://www.redbooks.ibm.com/abstracts/sg244840.html) that save> >>>>>> > >>> > >
> update to this> >> > while
> >>>>> > >> > active
> >>>>>> > >>> > > is strongly discouraged with *ALLUSR. The last
> doing *ALLUSR> >> > redbook
> >>>>> > >> > was
> >>>>>> > >>> > > 2003, so I'm wondering if that's changed. Anyone
> one control group> >> > save
> >>>>> > >> > while
> >>>>>> > >>> > > active?
> >>>>>> > >>> > >
> >>>>>> > >>> > > Another thought I had was to put the *SAVSYS in
> control group (not> >>>>>> > >>> > > (restricted state), everything else in another
> might be trickier,> >>>>>> > >>> > > restricted), and run them back to back. This
> next one> >> > though,
> >>>>> > >> > as
> >>>>>> > >>> > > the first control group has to finish before the
> thought of that> >> > starts. I
> >>>>> > >> > don't
> >>>>>> > >>> > > know if BRMS has that built in or not. Just
> single tape, I need> >> > idea while
> >>>>>> > >>> > > writing. Also, since I want everything on a
> --> >> > to make
> >> > --> >>>>>> > >>> > > sure the 2nd control group doesn't clear the tape.> >>>>> > >> > </snip>
> >>>>>> > >>> > >
> >>>>>> > >>> > > Suggestions welcome.
> >>>>> > >> > --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.