Q
Problem solve Get help with specific problems with your technologies, process and projects.

Setting up journals

I recently read an article by you in which you stated that you journal all physical files in your production libraries. How is this done? It would take me weeks maybe months to setup journals on all the possible files in my production libraries.
Setting up journaling is actually very easy. I'm not sure why you believe it would take "weeks" to set up. In a previous posting I detailed out all the steps. In summary they are:

Create a message queue to receive journal related messages
Create a journal receiver
Create a journal
Execute the appropriate STRJRN* command for each object you wish to journal:

STRJRNAP Start Journal Access Path (Not recommended, use SMAPP instead)
STRJRNOBJ Start Journal Object
STRJRNPF Start Journal Physical File

Note: You can journal MANY objects to a single journal.

What part of this process do you think will take so long? A simple CLP could be written to select the entire physical file in a library, for example, and then execute the STRJRNPF against each of them. I do this against my production data library and the whole "start journaling" process only takes a few minutes.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.

Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.

Check out this Search400.com Featured Topic: 20 ways to ensure a smooth OS upgrade

This was last published in May 2005

Dig Deeper on i5-OS

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close