ENDJRN all at once

6345 pts.
Tags:
AS/400 journaling
AS/400 user sessions
ENDJRNPF
JRNRCVR
How to end all user journals at the same time?

Answer Wiki

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

Unless you write a program to examine all your journals to see what objects are being journalled, you will need to deal with one journal at a time.
You CAN use the ENDJRNPF command to end jouralling to all PFs going to a single journal by specifying ENDJRNPF FILE(*ALL) JRN(**MYLIB/**MYJOURNAL)

Discuss This Question: 5  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rajasekhar15
    charlie could u please help me with a program please for this issue, i need to end and delete all user generated JRN & JRNRCV
    1,395 pointsBadges:
    report
  • CharlieBrowne
    This looks like a one time activity. Here is what I would do. 1. wrkjrn *all/*all This will display a list of all the journals on the system.You should be able to tell which ones are yours and which are system system by the names and libraries of the journals. 2. Ensure you library list contains the libraries that have files journaled. 3. ENDJRNPF *ALL JRN(&Lib/&Jrn) Replace the &Lib/&Jrn with information from the SFL on the screen. 4. Use F9 to retrieve the statement and repeat step 3 for each of the journals listing. 5. WRKJRNRCV *all/*all Use option 4=delete for all you want to remove 6. Wrkobj *all/*all *jrn Use option 4-delete to removed the disired journals
    41,370 pointsBadges:
    report
  • HMSSL2K
    Before you go deleting them, remember to save them first. You may need them.
    3,175 pointsBadges:
    report
  • MelanieYarbrough
    [...] a member use a database backup from lower version to higher version of SQL Server. 6. Need to use ENDJRN all at once? CharlieBrowne submitted an answer that was [...]
    0 pointsBadges:
    report
  • MelanieYarbrough
    [...] 1. CharlieBrowne gave the approved answer on using ENDJRN all at once. [...]
    0 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following