The system will do this automatically for you, but not based on the number of days.
Manage receivers . . : *SYSTEM
Delete receivers . . : *YES
o *SYSTEM - The system manages the changing of journal receivers.
When an attached journal receiver reaches its size threshold,
the system detaches the attached journal receivers and creates
and attaches new journal receivers. Additionally, during an
initial program load (IPL), the system performs a CHGJRN command
to change journal receivers and reset the journal sequence
number. The system performs the CHGJRN command if the journal
is not needed to complete commitment control IPL recovery.
Delete receivers
Indicates whether the system attempts to delete detached journal
receivers associated with this journal when they are no longer
needed for IPL recovery.
o *YES - The system attempts to delete detached journal receivers
associated with this journal.
o *NO - The system does not attempt to delete detached journal
receivers associated with this journal.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Monday, April 11, 2016 12:27 PM
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.