Option 31 presents the list of journals managed by the Journal Manager.
EDH-Tools JOURNAL MANAGER --------------------------------------------------------------------------- Lib: *ALL Jrn: *ALL 2=Change 3=Copy 4=Delete 5=Display Display from J=WRKJRNA C/R=Chg Receiver *Cont/*Reset Lib..: __________ Mngt ChgRCV DltRCV Sav CHGJRN Exit PGM Slt Library Journal RCV Hours Hours Rqs Option Bef Aft _ $$EDHJRN EDHJRN *YES 12 24 *NO _ $$EDHJRN JRN *YES 12 24 *NO _ $$EDHJRN PMJRN *YES 12 24 *NO _ $$JOURNAL JRNCFT *YES 12 24 *NO _ $$JOURNAL JRNROB *YES 12 24 *NO _ $JOURNAL JRN_SUD *YES 12 24 *NO _ $JOURNAL TRADER'S *YES 12 24 *NO _ $JRNLIB PMA1R *YES 12 24 *NO _ $JRNLIB PMA2R *YES 12 24 *NO _ $JRNLIB PMA3R *YES 12 24 *NO A suivre...
F3=Exit F6=Add Jrn F8=Select F9=Upd/Selection F11=Command F12=Cancel |
Options:
2=Change: Modify the management rules for the selected journal.
3=Copy: Copy the definition of the selected journal for a new journal.
4=Delete: Delete the journal definition – the selected journal will not be managed by the Journal Manager anymore.
5=Display: Display the definition of the selected journal.
J=WRKJRNA: Work with journal attributes (IBM command) for the selected journal.
C/R=Change the receiver in *CONT (C) or *RESET (R) mode. By default, change is done in *RESET mode; *CONT if *RESET is not possible.
Function keys:
F3=Exit: End of process – Return to the Journal Manager menu.
F6=Add Jrn: Add a new journal in the Journal Manager.
F8=Select: Search with generic names.
F9=Upd/Selection: Multiple update.
F11=Command: Allows you to bring up a command line.
F12=Cancel: Return to the Journal Manager menu.
Definition of a journal
Using the function key F6, you can add a journal in the Journal Manager and define its management rules.
JOURNAL MANAGEMENT RULES____________
Library ......... : __________ Journal .......... : __________
Journal management : *YES (*YES, *NO) Delay for ChgRCV : ___12 (in hours) Max. Size ChgRCV : 0 Delay for DltRCV : ___24 (in hours) SAV required ..... : *NO_ (*YES, *NO) Option CHGJRN .... : *RESET (*RESET, *CONT) Exit program . . : __________ Library ........ : __________ Exit program . . : __________ Library ........ : __________ |
Library: Name of the library where the journal is located.
Journal: Name of the journal.
Management of the journal: Indicate if you want the Journal Manager to manage receivers.
Delay for ChgRCV: Indicate in hours the delay before the current receiver will be replaced; value 0 indicates that there will be no action.
Max. size ChgRCV: Indicate the amount of journal entries in the current receiver before it gets detached; value 0 indicates that there will be no action.
Delay for DltRCV: Indicate the duration in hours the receivers will be kept on the system before the deletion by the Journal Manager; value 0 indicates that there will be no action.
SAV required: Indicate if the receiver must be saved before deletion (backup is not managed by the Journal Manager).
Option CHGJRN: *RESET (default) or *CONT; you must select this setting depending on the application needs.
Exit programs: The call of 2 exit programs is possible before and/or after the detachment of a receiver. The exit program receives 2 parameters:
The name of the receiver that has been detached
The library of the receiver
When the exit program is called, a message is produced in the log of the job and in the MSGQ PMEDHUSR/PMEDH.
The content of the exit program is under the responsibility of its author. A sample exit program, EDH_JRNEX9, is available in the library (it only does a SNDPGMMSG).
Select option (F8)
The select option allows you to search and display a sub-list of the journals, depending on criteria on the journal name and the library name.
SELECTION_________
Library .... : EDH*______ Journal .... : TST*______
F12=Cancel |
Note: As displayed in this example, you can enter a generic name for the journal name and/or the library name.
Upd/Selection (F9)
This global update allows you to apply the same management rules to a list of journals. This function should be used in combination with the selection option (F8).
GLOBAL UPDATE ON SELECTION____________
Library ......... : EDH* Journal .......... : TST*
Journal management : *SAME (*YES, *NO) Delay for ChgRCV : *SAME (in hours) Max. Size ChgRCV : *SAME_____ Delay for DltRCV : *SAME (in hours) SAV required ..... : *SAME (*YES, *NO) Option CHGJRN .... : *SAME (*RESET, *CONT) Exit program . . : *SAME_____ Library ........ : *SAME_____ Exit program . . : *SAME_____ Library ........ : *SAME_____ F12=Cancel |
Enter the different parameters to be changed and press Enter. All the journals corresponding with the selection criteria will be updated with the selected parameters.