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



Greetings all--

RCVJRNE passes two entries to an exit program--a buffer and a three-byte
control field. When the journal receiver changes, RCVJRNE passes data into
the control field and my exit program sees "3N0", where byte 1 ('3')
indicates the RCVJRNE command is ending. It ends--and so does my
application. The return code in the job log is 0 and no message is posted.

It's easy to test this process: I start my program, it waits, I change the
journal receiver with *NEW, and my program ends with a "3". This is an
unplanned and undesired feature.

I can't see if/where the control field is available as a returned parameter
in RCVJRNE; did I miss it? Having this data would enable a clean mechanism
for restarting the RCVJRNE command. Otherwise, I'll have to use a data
queue, a data area, or my configuration manager to pass the status back to
my CLLE program so I can restart. I save the last processed entry sequence
number as part of my start/restart logic--the restart will be easy.

The API doesn't appear to return this data, so that option appears to be
off the table.

I'm surprised RCVJRNE isn't capable of handling a journal receiver change.

I'd appreciate ideas/suggestions/education. Thank you!

--reeve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.