PRSATP5 ;HISC/MGD-Timekeeper Post Absence ;04/18/06
Source file <PRSATP5.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CNV96(TDATA,NSEG,ARRAY,ZERO,DADRFM) | ;
; Convert the external representation of the start/stop time to ; its 1 - 192 piece equivalent ; ; Input: ; TDATA - Time segments to operate on passed by reference ; NSEG - Number of Segments per start/stop time entry ; 3 for tours, 4 for exceptions ; ARRAY - Name of ordered array to create ; 1st char - P = Prior (to holiday) ; H = Holiday ; N = Next day after holiday ; 2nd char - T = Tour segments ; E = Exception segments, does not include segments ; that define periods of On-Call ; O = Segments that define periods of On-Call ; Could have come from Tour(s) or Exceptions ; C = Segments of work performed during periods ; of On-Call ; Format for all arrays ; ARRAY(START)=START^STOP^TOT ; Note: Exceptions arrays (PE, HE, NE) will contain the ; Remarks Code as the 4th piece of DATA ; Exceptions(START)=START^STOP^TOT^RC ; ; ZERO - 0 node of day being processed ; ; DADRFM - variable needed for tracking of tours that ; cross midnight. Passed by reference and may ; be changed. |
|
CNV | ||
COA | ||
GETPPP(PPIP,DFN,WDAY,BACK,QUIT) | ;
; Set appropriate variables for prior pay period ; Input: ; PPIP - Internal format of current pay period ; DFN - IEN of employee ; WDAY - Day currently being examined ; QUIT - Null ; ; Output: ; PPIP - IEN of Prior Pay Period ; WDAY - Set to last day of prior pay period ; BACK - Counter for number of pay period looked back ; QUIT - Will be set to 1 if there is no timecard for ; the employee in the prior pay period |
|
GETNPP(PPIN,DFN,WDAY,NEXT,QUIT) | ;
; Set appropriate variables for next pay period ; Input: ; PPIN - Internal format of current pay period ; DFN - IEN of employee ; WDAY - Day currently being examined ; QUIT - Null |