ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Automating AS/400 journal management

Post new topic  Reply to topic
 Automating AS/400 journal management « View previous topic :: View next topic » 
Author Message
solberj
PostPosted: Tue Jun 04, 2002 10:32 am    Post subject: Automating AS/400 journal management Reply with quote

Novice

Joined: 18 Mar 2002
Posts: 18
Location: Jim Solberg

Hi...

I am wondering if anybody has ever programatically automated AS/400 journal management. By that, I mean is there an easy way to determine which journal receivers are not needed anymore and deleting them without human intervention?

Any thoughts?

Thanks in advance...
_________________
Jim Solberg
Senior System Architect - Technology Services
Conseco Finance Corporation
Back to top
View user's profile Send private message Send e-mail
solberj
PostPosted: Thu Jun 06, 2002 5:48 am    Post subject: Reply with quote

Novice

Joined: 18 Mar 2002
Posts: 18
Location: Jim Solberg

To all:

Here is a solution (from IBM Redbook "Using MQSeries on the AS/400):

Journal receivers will grow until all disk space is used up, if you don't
manage them.
A practical way to handle receiver management is to create and attach a
new receiver every day just before a backup of the files it is serving. You
do it by issuing the command:
CHGJRN JRN(MYJRN/JRN) JRNRCV(*GEN)
This command creates a new receiver, attaches it and detaches the old one.
When the file is saved an entry is made in the new receiver.

You may back up the receivers on tape and then delete them. After the file
is backed up you can delete the receivers from before the file backup, as
they are not necessary any more. A simple set of commands shows this:
CHGJRN JRN(MYJRN/JRN) JRNRCV(*GEN)
SAVLIB LIB(MYAPP) DEV(TAP01)
SAVLIB LIB(MYJRN) DEV(TAP01)
DLTJRNRCV JRNRCV(MYJRN/RCV)
The success is based on the fact that an attached receiver cannot be
deleted (if programmed in a CL program you must monitor for such
messages).

Regards,
_________________
Jim Solberg
Senior System Architect - Technology Services
Conseco Finance Corporation
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Automating AS/400 journal management
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.