Information Systems:Overnight Processing

From uniWIKI
Revision as of 10:31, 3 March 2016 by Sheilav (talk | contribs)
Jump to navigation Jump to search

Overnight Processing

Also referred to as End of Day, or EOD.

These jobs use our custom logging system. Withing a program, insert the command -

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  ___ __ __