× 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.



Below is an example of a MPLUS monitor for a CPA0701 with an additional MPLUS filter for CPF1002 cannot allocate object &1.
This is for our online credit card app, which does an exclusive lock for a data area for an authorization.
Once in a blue moon , our nightly BRMS SWA will cause the ALCOBJ to fail, MPLUS responds and keeps the app running.

ALCOBJ OBJ((CURBSTONE/CCDA3999 *DTAARA *EXCL))

Compare data

Message ID . . . . . : CPA0701
Message file . . . . : QCPFMSG
Library . . . . . . : QSYS

&Field/ Test Compare
Pos
A/O &3 EQ CPF1002

Test: EQ, NE, CT, NC

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Peter Dow
Sent: Thursday, February 13, 2014 1:21 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: need for a new CPF catch MONMSG

If this job is not mission critical, put it in a different jobq than the mission critical stuff, a job queue where it can sit in an error state until you get around to it.

Another point is placement of the MONMSG CPF0000. If you put this at the beginning of the program, it will apply globally to all commands in the program; if you place it immediately after a particular command, it will only apply to that command.

So if you really don't care whether the program completes successfully, you can do a global MONMSG. Also, the ones i've seen also ignore MCH0000. But the better solution is to handle expected errors by monitoring for them specifically and doing something appropriate.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /

On 2/13/2014 5:47 AM, Hoteltravelfundotcom wrote:
Sorry if this is a little vague.

I have a small CL that runs daily. It creates a temp file that I use in the
Reporting tool.
We use the basic IBM Scheduler, they never bought a better product here and
they won't now.

( we tried to make this a view a while back but were unsuccessful).Anyway,
I have the CPF0000
monmsg on there but a couple of weeks ago that file was in use in a diff
view I was creating at that moment so the job aborted. but it hung waiting
for a response. the problem with that is, that other jobs are stuck in the
traffic jam and if my manager had not noticed, they would not have run for
most of the evening.

In such a case, I would like the job to just quit, as the data is not
mission critical, it's just for a report that is run occassionally.

Perhaps someone knows which other monmsg CPF i would add to that CL? I
can't have my jobs holding up others. In fact, this can cause the system to
not come up because of this.



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.