|
Couldn't see it, either, but since you're IN the job - I assume - you could use (in C or RPG) the rslvsp MI instruction to get the pointer to system pointer to the program (*LIBL can be used), then matptr MI instruction to get the details. ILE C/C++ for AS/400 MI Library Reference has details. At 10:25 AM 4/18/02 -0600, you wrote: >I'm using QMHRCVPM as part of a new error handler, and I've come across the >need to know which program sent a particular message. Both RCVM0200 and >RCVM0300 will provide the name of the sending program, but neither returns >the library that the program was executed from. > >Have I missed something here? RCVM0300 will even give me the statement >number, but I can't find the libary anywhere. > > >Regards, > >John Taylor > > > > > > >_______________________________________________ >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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.