Jeff,

You can use the Retrieve Journal Receiver Information (QjoRtvJrnReceiverInformation) API. It returns information about a journal receiver including detach date.

http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/QJORRCVI.htm?lang=en

So how do you find the receiver name? You can use the DSPOBJD command for *JRNRCV writing the output to a table or, you can use the Retrieve Journal Information (QjoRetrieveJournalInformation) API. Use key 1 to obtain a journal's directory.

http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/QJORJRNI.htm?lang=en

Thanks,

Gary Monnier
IT Software Engineer CSM, CSPO

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Monday, April 11, 2016 9:27 AM
To: Midrange Systems Technical Discussion
Subject: Removing old journal receivers

All,
Given a user journal name and library, I need to remove any journal
receivers that are over n days old.
This method needs to be done in a program without user intervention.

I have not been able to find an IBM command that will allow me to get this
data.
The customer is on V6R1M0.

TIA


Jeff Young
Sr. Programmer Analyst

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.