Is this a watch program as in:

STRWCH WCHPGM(MYWATCHER) WCHMSG((CPF2123))

If so the message data is provided to your watch program in the event
data parameter. Event data parameter format is documented in the help
for STRWCH command.

On Fri, Dec 5, 2014 at 2:16 PM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx> wrote:
Need to RCVMSG from QSYSOPR, but allocated to another job

4100 - RCVMSG MSGQ(QSYSOPR) MSGDTA(&MSGLIB) MSGDTALEN(&MSGDTAL)
Message queue QSYSOPR is allocated to another job.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Friday, December 05, 2014 2:57 PM
To: Midrange Systems Technical Discussion
Subject: Re: Retrieve the library name from CPF2113

Like this?
RCVMSG MSGDTA(&MSGDTA)
MSGDTALEN(&MSGDTALEN)


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 12/05/2014 02:46 PM
Subject: Retrieve the library name from CPF2113
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I've created a WRKWCH to monitor for CPF2113.
The watch CLP program will then call TAATOOL CVTLIBLCK2 LIB(TPAULT1)
OUTLIB(PAULS).
The result will be a PF loaded with all library locks, which will be used
for additional processing.

In the CL I need to retrieve the library name, TPAULT1, from the
CPF2113.
What command do I use to do this?

Message ID . . . . . . : CPF2113 Severity . . . . . . . : 40
Message type . . . . . : Information
Date sent . . . . . . : 12/05/14 Time sent . . . . . . : 14:36:39

Message . . . . : Cannot allocate library TPAULT1.

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/

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





This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].