Starting journaling on files in a schema

750 pts.
Tags:
AS 400
I created my schema and moved objects into it. I noticed that files are not automatically getting journaled like they would have if I used the CRTDUPOBJ command. What do I need to do to have files automatically journaled to the QSRJRN journal when objects are moved into the schema? When I created the schema I manually started journaling on my physical files, but want my files automatically journaled if they are moved into the schema or are created in it. Can you provide an example? How can I utilize the QDFTJRN data area? Thank you for any help you can offer.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you create a QDFTJRN *DTAARA in the lib, new files will automatically be journalled as they are created/moved into the lib. Alternatively you could use the STRJRNLIB command.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Rrbond07
    Will data area QDFTJRN automatically also journal the logicals too? I need to be able to get the logicals to journal.
    750 pointsBadges:
    report
  • GregManzo
    Google "journaling logical files" vs "journaling access paths".
    If you want the _definition_ of the logical journaled then the system will cover that for you. If you want the _access path_ protected, then you will need to use STRJRNAP.
    Journaling the access path can significantly improve recovery times for very large indexes. Small indexes can be rebuilt from scratch in almost no time, so it's not worth the bother. Consider what you are trying to protect against.
    2,950 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: