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




Hello Rich,

I use the Receive Journal Entry (RCVJRNE) command for a number of
purposes, including file change log, event monitor, e-mail trigger, etc.

The format of the journal entry data received is defined by the RCVJRNE
command's Entry format (ENTFMT) parameter, which allows you to specify
formats similar to the Display Journal (DSPJRN) command, i.e. *TYPE1,
*TYPE2, etc. Although they come close, the respective formats are
however not completely identical. Both commands' help text have a very
detailed on-line documentation revealing all details, both at command
and keyword level.

Apart from the DSPJRN and RCVJRNE commands there's also the Retrieve
Journal Entry (RTVJRNE) command as well as the Retrieve Journal Entries
(QjoRetrieveJournalEntries) API, all offering programmatical access to
journal entries. Which alternative to use, mostly depends on the
specific situation and the actual requirements.

The RCVJRNE exit program receives the journal entry data in the
specified entry format as its first parameter. A second parameter
contains function control information passed between system and exit
program - the details are explained here:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/r
zaki/rzakiexitjrnentry.htm

Receiving journal entries in an exit program:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaki/rzakir
cvjrnentry.htm

I've written a couple of examples of how to employ the RCVJRNE command
in the context of a file change log facility and an event monitor,
respectively. I've also written an API example using the Retrieve
Journal Entries (QjoRetrieveJournalEntries) API. The articles can be
found here:
http://systeminetwork.com/node/61261
http://systeminetwork.com/node/61227
http://systeminetwork.com/article/club-tech-iseries-systems-management-n
ewsletter-8

I'm not sure what level of System iNetwork membership is required to
access the articles though. Let me know if you have any questions.

Best regards,
Carsten Flensburg

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rich Loeber
Sent: 5. december 2008 20:28
To: Midrange Systems Technical Discussion
Subject: RCVJRNE

Hello list.

Does anyone have experience using the RCVJRNE who can provide an
overview
of how it might be used? Will the information received be different
from
that obtained when using the DSPJRN command to an *OUTFILE? Also,
how
does the named exit program actually receive the data?

This communication is intended only for use by the addressee. It may contain confidential or privileged information. If you receive this communication unintentionally, please inform us immediately and delete this e-mail and any attachments. Warning: Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

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.