× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



IBM apparently made some enhancements to accommodate (among other things)
batch jobs in the controlling subsystem. My system indicates it entered
restricted state:

ENDSBS SBS(*ALL) command being processed.
Writer 962209/QSPLJOB/PRTPO ended normally.
Subsystem BC400SERVR ended.
Subsystem QBATCH ended.
QTCPIP job is ending.
Subsystem $SHIPPER ended.
Subsystem QPGMR ended.
...
System ended to restricted condition.
ENDSBS SBS(*ALL) command being processed.
System ended to restricted condition.
18 objects saved from QRCL. 1 not saved.
Backup *ALLUSR, type *FULL completed with errors.
Subsystem QCTL in library QSYS starting.
Subsystem QSYSWRK in library QSYS starting.
Subsystem QSYSWRK started.

And some times to go along with...

Message ID . . . . . . : CPF0994
Date sent . . . . . . : 05/31/09 Time sent . . . . . . :
02:00:27
Message . . . . : ENDSBS SBS(*ALL) command being processed.

Message ID . . . . . . : CPF0968
Date sent . . . . . . : 05/31/09 Time sent . . . . . . :
02:02:55
Message . . . . : System ended to restricted condition.

Message ID . . . . . . : CPF0994
Date sent . . . . . . : 05/31/09 Time sent . . . . . . :
02:03:36
Message . . . . : ENDSBS SBS(*ALL) command being processed.

Message ID . . . . . . : CPF0968
Date sent . . . . . . : 05/31/09 Time sent . . . . . . :
02:03:36
Message . . . . : System ended to restricted condition.

Message ID . . . . . . : CPF1804
Date sent . . . . . . : 05/31/09 Time sent . . . . . . :
06:10:47
Message . . . . : Subsystem QCTL in library QSYS starting.


--Loyd


On Thu, Jun 4, 2009 at 2:55 PM, <rob@xxxxxxxxx> wrote:

I suspect that running a batch job in QCTL does not qualify as being in
"restricted state".

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/experience/wmrstateabstract53.htm?resultof=%22%72%65%73%74%72%69%63%74%65%64%22%20%22%72%65%73%74%72%69%63%74%22%20%22%73%74%61%74%65%22%20
"Restricted state is a condition where all the subsystems on the i5/OS
system have ended and only a single user job remains active in the
controlling subsystem."
I would suspect that the "single user job" would normally be DSP01 or some
such thing.

So maybe you have a choice:
- that single user batch job with your console totally killed
- having a system console.

Maybe the programmer at the other company is right. And if you try the
batch job you're SOL trying to check it's status?


Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From:
"Jeff Crosby" <jlcrosby@xxxxxxxxxxxxxxxx>
To:
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
Date:
06/04/2009 03:37 PM
Subject:
RE: BRMS CPF5140 Error
Sent by:
midrange-l-bounces@xxxxxxxxxxxx



A different Jeff here. :)

Per that archived post, this can be done even when doing a full backup,
including the *SAVSYS, right?

--
Jeff Crosby
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of lgoodbar@xxxxxxxxxxxxxx
Sent: Thursday, June 04, 2009 2:40 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: BRMS CPF5140 Error

Jeff,

If you are on V5R4 or newer, can I suggest you submit the backup to the
controlling subsystem instead of to the console? It is then a hands-off
operation independent of the console. Here is a note from the archives:
http://archive.midrange.com/midrange-l/200802/msg00770.html


Excerpt:
"*SYSTEM policy page 2
Controlling subsystem
Allow backups in batch: *YES
Restricted state end time: nnn
This allows BRMS to end the batch job if restricted state time in
minutes is exceeded. Otherwise, need to force DST on console and take
option to end restricted batch job.

"Then in your job scheduler:
STRBKUBRM CTLGRP(WEEKLTOCG) SBMJOB(*CTLSBS)"


We've run this since we upgraded to V5R4 and had only one issue which
required going into DST and force ending the backup. We use this for our
weekly (Sunday) full system save and had no issues with it for over a
year or so.

If you pursue, make sure the restricted state end time (expressed in
minutes) is large enough to accommodate your backup window. Last week
our system pulled out of restricted state automatically (good!) near the
end of the backup (bad!), so we had to increase the restricted state
time. Other than that had wonder experience with it.

HTH,
Loyd


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Curtis
Sent: Thursday, June 04, 2009 8:05 AM
To: Midrange Systems Technical Discussion
Subject: Re: BRMS CPF5140 Error

Could it be that either


a.) there were two DSP01 jobs on the iSeries and BRMS did not know
which
one to use so it aborted with the CPF5140 error?

b.) the BRMS console job was not signed on with the same id which runs
the
BRMS save job?

On Wed, Jun 3, 2009 at 9:51 AM, Jeff Curtis <jcurtis1027@xxxxxxxxx>
wrote:

It was a shared session.


On Tue, Jun 2, 2009 at 5:03 PM, <rob@xxxxxxxxx> wrote:

Was your hmc 5250 session "shared" or "dedicated"? We never use
"dedicated" anymore. With "shared" you can:
- kill the session on the hmc (but not the hmc) and it should stay
running
- share the session from your pc, etc
The CPF5140 error really sounds like a drop between the console and
the
box. You should be able to do a
WRKJOB DSP01 or whatever your console is called, and look at that
joblog.



Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From:
Jeff Curtis <jcurtis1027@xxxxxxxxx>
To:
midrange-l@xxxxxxxxxxxx
Date:
06/02/2009 04:20 PM
Subject:
BRMS CPF5140 Error
Sent by:
midrange-l-bounces@xxxxxxxxxxxx



I am hoping someone can help me here. While running a BRMS backup
(a
full
system save) with the *Console option and the BRMS console running on
our
HMC 5250 session, a CPF5140 error appeared and killed the backup and
the
console. We had to reconnect and do an IPL. Has anyone had this
happen
before and what can be done to correct it?


Thanks,


Jeff

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.