Created
January 2, 2025 14:56
-
-
Save bdietz400/39ab14fa942d8614e7cbf45e9f72a201 to your computer and use it in GitHub Desktop.
Fin "orphaned" Journal Receivers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT Jr.Journal_Receiver_Library,Jr.Journal_Receiver_Name,Jr.Size | |
,Jr.Descriptive_Text,Jr.Journal_Library,Jr.Journal_Name | |
,Jr.Attach_Timestamp,Jr.Detach_Timestamp | |
FROM Qsys2.Journal_Receiver_Info Jr | |
WHERE NOT EXISTS (SELECT J.Journal_Name | |
FROM Qsys2.Journal_Info J | |
WHERE J.Journal_Library = Jr.Journal_Library | |
AND J.Journal_Name = Jr.Journal_Name) | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment