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



Hi Domenico,

In RPG, positions 91-70 of the program status data structure contain the
text of message CPF5027 "Record &6 in use by job &9", where &6 is the
relative record number of the locked record and &9 is the
jobnbr/userid/jobname.

I couldn't remember if COBOL has the equivalent of the PSDS, so I took a
look at the ILE manual and couldn't find anything.  However, I'm sure you
could use QMHRCVPM or RCVMSG in a CL program to retrieve the message and
parse the text.

hth,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax


----- Original Message -----
From: "Finucci Domenico" <Domenico.Finucci@Fiditalia.it>
To: <midrange-l@midrange.com>
Sent: Friday, October 26, 2001 7:49 AM
Subject: R: Compiling ILE objects


> Good morning, sirs.
>
> I would like to inform my users about who 's locking a record.
> I would also write a general routine (Cobol, if possible) to accomplish
this
> task.
>
> I'm trying with QMHRCVPM api (retrieve msg) but it seems looping.  Any
> suggestion about that ?
>
> Simon Coulter, are you there ?
>
> Any source example is welcome.
> Sincerely
>
> Domenico Finucci
> Fiditalia , Milano
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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.