Difference between revisions of "Information Systems:Overnight Logging"
| Line 46: | Line 46: | ||
The third way will not work, as log entries from the requested date to today will show; with today at the top of the list, and March 2nd at the end. |
The third way will not work, as log entries from the requested date to today will show; with today at the top of the list, and March 2nd at the end. |
||
| − | If you want further information on the meanings of the values in Program, Level1, Level 2, or Level 3, key a question mark into that selection field and press enter. Also, you can select one of these 'actions' from the list, and display it only. You will then be able to see how times are changing, and whether of not |
+ | If you want further information on the meanings of the values in Program, Level1, Level 2, or Level 3, key a question mark into that selection field and press enter. Also, you can select one of these 'actions' from the list, and display it only. You will then be able to see how times are changing, and whether of not they is trending up. |
Revision as of 17:10, 3 March 2016
The overnight jobs use our custom logging system. Withing a program, insert the command (with parameters to identify the processing step) -
LOGENTRY LEVEL1(OVERNIGHT) LEVEL2(EODDAILY) LEVEL3(START) +
BEGEND(B) FROMPG(EODDAILY) CLASS(LOG)
To see it, go to Unity / Start uniPharm Extensions / VA Company (Production) / Work with UWD IT Tools / Display Log.
3/03/16 08:47:01 uniPHARM -- PRODUCTION LGRIQ100/USFUNCTL
Logging Utilities - Show Entries CSU Release: 6.0
Display Order Limit to: Date Range Err
DAT Date (Descending) ___ __ __ ___ __ __
Level 1 Level 2 Level 3 Class Program Error Id B/E User
__________ __________ __________ _____ __________
Date Time B Program LEVEL 1 LEVEL 2 LEVEL 3 ERROR ID
MAR 3 16 1:00:00 B EODDAILY ENDOFDAY EODDAILY START
MAR 3 16 1:00:01 B EODDAILY ENDOFDAY EODEND2 CALLED
MAR 3 16 1:00:01 B EODEND2 ENDOFDAY EODEND2 START
MAR 3 16 1:07:04 B EODEND2 ENDOFDAY EODEND2 END
MAR 3 16 1:07:04 B EODDAILY ENDOFDAY EOD CALLED
MAR 3 16 1:07:04 B EOD ENDOFDAY EOD START
MAR 3 16 1:07:04 B EOD ENDOFDAY EODBUTEMP CALLED
MAR 3 16 1:07:04 B EODBUTEMP ENDOFDAY EODBUTEMP START
MAR 3 16 1:57:32 B EODBUTEMP ENDOFDAY EODBUTEMP END
MAR 3 16 1:57:33 B EOD ENDOFDAY EODUPD CALLED
MAR 3 16 1:57:33 B EODUPD ENDOFDAY EODUPD START
F3=Exit F5=Refresh F8=More F12=Previous F21=Scrn Reset
F24=Scrn Save
Program is the name of the program that wrote the log (with the LOGENTRY command).
Level 1 is the 'user data' of the job log spool file (QPJOBLOG) where you can find more details. (They are all in WRKSPLF EODJOB. Note that they will be automatically deleted after ten days.)
Level 3 is the action.
Level 2 is the object of the action.
It would be best to have the 'Display Order' set to DAT date (Descending). If it isn't, set it to that, clear all other selection fields, and press F24 (upper-F12) to save it.
You can use the 'Date Range' selection to look at a particular day. Be aware that because we are looking at records in descending order, the from and to date range works a little unexpectedly. If you want to look at a particular day, for example March 2, 2016, you can do it in two ways -
Date Range or Date Range NOT Date Range ___ __ __ MAR 2 16 MAR 2 16 MAR 2 16 MAR 2 16 ___ __ __
The third way will not work, as log entries from the requested date to today will show; with today at the top of the list, and March 2nd at the end.
If you want further information on the meanings of the values in Program, Level1, Level 2, or Level 3, key a question mark into that selection field and press enter. Also, you can select one of these 'actions' from the list, and display it only. You will then be able to see how times are changing, and whether of not they is trending up.