At 09:46 PM 4/24/98 EDT, you wrote:
>Greetings All;
>
>I have a journal problem.  This journal starts to exceed 1.5 gig every
day, so
>I have wrote a program that will go out 3 times a day to detach the journal
>reciever, then generate and attach a new one. (The software vendor says that
>they need all of their files journaled to one journal for commitment control)
>
>What I want to know is, is there a way to programatically delete the old
>recievers after they have been saved?
>
Not easily.  However, why save them.  

When you create the journal receiver, specify the THRESHOLD parameter,
which is the size at which the threshold message will be sent.

Then when you create the journal, MNGRCV(*SYSTEM), and then the system will
automatically change them when the threshold is reached (as well as at IPL
time).

Furthermore, if you specify DLTRCV(*YES) when specifying MNGRCV(*SYSTEM),
the system will automatically delete the receiver when it's no longer
needed for commitment control or referential integrity.

Al



Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:  914-251-9400
Fax:    914-251-9406





Private mail should be sent to barsa@ibm.net
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.