ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Determine a Files Journal Status

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Determine a Files Journal Status

    Is there any way to determine if a file is being journaled by looking at information from the file object itself? I'd like to know if a file is being journaled in production, and what the journal and receivers are, so I can duplicate the correct set up in test. I'd prefer to NOT have to go through all of the journals looking for which one contains this file, if any.

    Thanks,
    Michael
    "Time passes, but sometimes it beats the <crap> out of you as it goes."

  • #2
    Re: Determine a Files Journal Status

    use DSPFD to check the journal status. after you have all of the journals being used you can check the journal's current receiver using WRKJRNA for the journals
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: Determine a Files Journal Status

      Maybe I'm missing something. (My co-worker gave me her cold on Friday, so my head's a little foggy this morning.) Where in the DSPFD can I find info about the journal. I just don't see it.
      "Time passes, but sometimes it beats the <crap> out of you as it goes."

      Comment


      • #4
        Re: Determine a Files Journal Status

        Originally posted by littlepd View Post
        Maybe I'm missing something. (My co-worker gave me her cold on Friday, so my head's a little foggy this morning.) Where in the DSPFD can I find info about the journal. I just don't see it.
        Its under the Database File Attributes, at the bottom of the section:

        File is currently journaled . . . . . . . . : Yes
        Current or last journal . . . . . . . . . . : MYFILES
        Library . . . . . . . . . . . . . . . . . : EXAMPLE
        Journal images . . . . . . . . . . . . . . : IMAGES *BOTH
        Michael Catalani
        IS Director, eCommerce & Web Development
        Acceptance Insurance Corporation
        www.AcceptanceInsurance.com
        www.ProvatoSys.com

        Comment


        • #5
          Re: Determine a Files Journal Status

          Man, I need to go home. I was searching the spooled file for "journalled".
          "Time passes, but sometimes it beats the <crap> out of you as it goes."

          Comment

          Working...
          X