DCL VAR(&ERRORMSGID) TYPE(*CHAR) LEN(7)
DCL VAR(&MSGTYPE) TYPE(*CHAR) LEN(2)
DCL VAR(&MSGDTA) TYPE(*CHAR) LEN(8)
DCL VAR(&RESTORED) TYPE(*DEC) LEN(4 0)
DCL VAR(&NOTREST) TYPE(*DEC) LEN(4 0)
RSTLIB BLAHBLAHBLAH - your restore command here.
MONMSG MSGID(CPF3773) EXEC(DO)
RCVMSG MSGTYPE(*LAST) RMV(*NO) MSGDTA(&MSGDTA) +
MSGID(&ERRORMSGID) RTNTYPE(&MSGTYPE)
CHGVAR VAR(&RESTORED) VALUE(%BIN(&MSGDTA 1 4))
CHGVAR VAR(&NOTREST) VALUE(%BIN(&MSGDTA 5 4))
ENDDO
Deal with &RESTORED and &NOTREST as you see fit.
On Fri, 2020-03-06 at 13:30 -0500, smith5646midrange@xxxxxxxxx wrote:
We can't monitor for CPF3773 or we miss when object are not restored. I do want it to halt if it is not "0 objects not restored".
We aren't authorized to ALWOBJDIF. Don't ask why because I don't know. 😊
-----Original Message-----
From: MIDRANGE-L <
<mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
midrange-l-bounces@xxxxxxxxxxxxxxxxxx
On Behalf Of Patrik Schindler
Sent: Friday, March 6, 2020 1:25 PM
To: Midrange Systems Technical Discussion <
<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Looking for way around CPF3773
Hello,
Am 06.03.2020 um 19:19 schrieb
<mailto:smith5646midrange@xxxxxxxxx>
smith5646midrange@xxxxxxxxx
:
We are restoring a bunch of libraries to a test system. At the end or
each RSTOBJ command, we are receiving CPF3773 with X objects restored
and 0 objects not restored. I look and see the 0 objects not restored
and do an ignore.
If you are restoring with a CL script, simply add a MONMSG for CPF3773 do have it ignored.
Alternatively, look at rstobj option ALWOBJDIF(*ALL).
:wq! PoC
PGP-Key: DDD3 4ABF 6413 38DE -
<
https://www.pocnet.net/poc-key.asc>
https://www.pocnet.net/poc-key.asc
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email:
<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
<
https://lists.midrange.com/mailman/listinfo/midrange-l>
https://lists.midrange.com/mailman/listinfo/midrange-l
or email:
<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
<
https://archive.midrange.com/midrange-l>
https://archive.midrange.com/midrange-l
.
Please contact
<mailto:support@xxxxxxxxxxxx>
support@xxxxxxxxxxxx
for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
<
https://amazon.midrange.com>
https://amazon.midrange.com
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.