PRSNRMM ;WOIFO-JAH - POC Record and Timecard Mismatches;07/31/09
Source file <PRSNRMM.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
PPMM(PRSIEN,PPI,PG,STOP) | ; report mismatches for a pay period
|
|
DISPMM(MM,STOP,HDR,PRSIEN,PPI,PRSD) | ; Display a single day of mismatches between
; a timecard and a POC record ; INPUT: ; MM-(array by reference) call DAILYMM to get an array of ; mismatches to pass to this display routine ; PPI-(required) pay period IEN ; PRSD-(required) day number in pay period referenced in PPI ; HDR-(optional) set to true if you want a header included |
|
HDR(STOP,HDR,PRSIEN,PPI,PG) | ;
|
|
DAILYMM(MM,PRSIEN,PPI,PRSD) | ;
; INPUT: ; PRSIEN: 450/451 IEN ; PPI: 451/458 Pay Period IEN ; PRSD: day 1-14 of pay period ; OUTPUT: ; MM - mismatch array index 1..n for each mismatch ; MM(0) = number of mismatches and zero for none ; MM(0+n) = TC Seg start^TC Seg Stop^TT^POC seg start^POC seg stop^TT |
|
BLDPOC(ND,PRSIEN,PPI,PRSD,ACTIVITY) | ; Build string and array from POC day
; initialize ND ; INPUT: ; PRSIEN: 450 IEN ; PPI: 458/451 IEN ; PRSD: Pay period day number 1-14 ; ACTIVITY: flag set to true if you want to have only portions ; of the array with activity to be returned. ; ND: activity string and array |
|
BLDTC(TD,PRSIEN,PPI,PRSD,ACTIVITY) | ; Build string and array from Time Card day
; initialize TD ; INPUT: standard PRSIEN, PPI, PRSD ; ACTIVITY-(optional) flag set to true if return array ; should only contain nodes with activity ; OUTPUT: ; TD (string) with 192 characters representing each 15 minutes of ; the day ; if ACTIVITY parameter true then TD string will be set as follows: ; TD = timecard posting status ^ tour of duty IEN |
|
PLACEX(T1,T2,TOUR) | ;
|
|
TIMEDIF(TIME1,TIME2) | ;
|
|
CNVTTPOC(TT) | ; convert an ETA type of time to POC time
|
|
CONVERT(TT) | ; Convert a type of time code to a comparison code
; COMPARISON ; ETA POC STRINGS ; CODE ETA DX CODE POC DX CODE ; ==== =============== ===== =========== ===== ; AA Auth Abs AA Auth Abs A ; CP Cont of Pay AA Auth Abs A ; AD Adoption AD Adoption D ; AL Annual Leave AL Annual Leave L ; CB Fam Care Bereav CB Fam Care Bereav B ; CU Comp/Cred Used CU Comp/Cred Used U ; DL Donor Leave DL Donor Leave d ; RL Restored AL RL Restored AL R ; RS Recess RS Recess r ; HX Holiday Excused HX Holiday Excused h ; ML Military Leave ML Military Leave M ; SL Sick Leave SL Sick Leave S ; WP Leave w/o Pay WP Leave w/o Pay W ; NL Non-Pay AL NL Non-Pay AL n ; NP Non-Pay NP Non-Pay N ; Tour Time (posted) WI Work in tour W ; TR Train (in tour) TR Work in Tour W ; TV Travel (in tour) TV Work in Tour W ; OT Overtime WO Work out of tour w ; CT Comp/Cred Earn WO Work out of tour w ; RG Reg Sched WO Work out of tour w ; HW Hol Work (in tour) HW H ; UN Unavailable Not reported Ignored ; ON On-Call Not reported Ignored ; SB Standby Not reported Ignored |
|
TIMEPOS(MT,SORE) | ; Convert MILTIME to positional int. where 1 represents
; the period from Mid-12:15, 2 - 12:15-12:30, and so on, with 96 ; representing the period from 11:45pm to mid. |
|
POSTIM(I,BORE) | ; convert the positional integer time to military time
; INPUT: BORE-0=START, 1=END, flag specifies if this is a ; start time or end time |
|
ETIM(MIL) | ; Convert a military time to a standard time
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PRSPC - [#450] | HDR+16 |
^PRST(458 - [#458] | PPMM+9, HDR+6, HDR+7, HDR+8, BLDTC+20, BLDTC+23 |
Name | Line Occurrences |
---|---|
$$CNVTTPOC | BLDTC+37, BLDTC+68 |
$$CONVERT | BLDPOC+19, BLDTC+36, BLDTC+67 |
$$ETIM | DISPMM+22, DISPMM+23, DISPMM+26, DISPMM+27 |
$$PLACEX | BLDTC+61 |
$$POSTIM | BLDPOC+12, BLDTC+14 |
$$TIMEDIF | PLACEX+13, PLACEX+16, PLACEX+30 |
$$TIMEPOS | BLDPOC+16, BLDPOC+17, BLDTC+47, BLDTC+48, BLDTC+65, BLDTC+66, BLDTC+89, BLDTC+90 |
BLDPOC | DAILYMM+18 |
BLDTC | DAILYMM+14 |
DAILYMM | PPMM+7 |
DISPMM | PPMM+10 |
HDR | PPMM+4, PPMM+11, DISPMM+19 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTIVITY | BLDPOC~, BLDPOC+41, BLDTC~, BLDTC+113 |
BORE | POSTIM~, POSTIM+4 |
CC | BLDPOC+10~, BLDPOC+19*, BLDPOC+20, BLDTC+13~, BLDTC+36*, BLDTC+38*, BLDTC+49, BLDTC+67*, BLDTC+69, CONVERT+31~ , CONVERT+32*, CONVERT+35 |
CODEPOS | CNVTTPOC+1~, CNVTTPOC+4*, CNVTTPOC+5, CONVERT+31~, CONVERT+34*, CONVERT+35 |
DASH | DISPMM+13~, DISPMM+16*, DISPMM+30 |
DAYOFF | BLDTC+13~ |
DIFF | TIMEDIF+4~, TIMEDIF+7*, TIMEDIF+8 |
DT | HDR+15 |
EN | BLDTC+73~, BLDTC+84*, BLDTC+85*, BLDTC+87*, BLDTC+90 |
ENPOS | BLDTC+73~, BLDTC+90*, BLDTC+91 |
H | ETIM+2~, ETIM+5*, ETIM+6, ETIM+8, ETIM+9, ETIM+10, ETIM+11 |
HDR | DISPMM~, DISPMM+15*, DISPMM+19, HDR~, HDR+4 |
HOUR | TIMEDIF+4~, TIMEDIF+5*, TIMEDIF+6* |
I | DAILYMM+56~, DAILYMM+57*, DAILYMM+59, DAILYMM+61, DAILYMM+62, DAILYMM+63, DAILYMM+64, DAILYMM+66, DAILYMM+67, DAILYMM+74 , DAILYMM+78, DAILYMM+85*, DAILYMM+86*, DAILYMM+88*, DAILYMM+90*, BLDPOC+10~, BLDPOC+11*, BLDPOC+12*, BLDPOC+27*, BLDPOC+28 , BLDPOC+29, BLDPOC+30, BLDPOC+33*, BLDPOC+34, BLDPOC+35, BLDPOC+36, BLDPOC+42*, BLDTC+13~, BLDTC+14*, BLDTC+30* , BLDTC+100*, BLDTC+101, BLDTC+102, BLDTC+103, BLDTC+106*, BLDTC+107, BLDTC+108, BLDTC+109, BLDTC+114*, POSTIM~ , POSTIM+4*, POSTIM+5, POSTIM+6 |
IOF | HDR+3 |
IOM | HDR+11, HDR+12, HDR+14, HDR+17 |
IOSL | PPMM+11, DISPMM+19 |
J | DISPMM+17*, DISPMM+18*, DISPMM+21, BLDPOC+10~, BLDPOC+20*, BLDTC+13~, BLDTC+49*, BLDTC+69* |
LEN | BLDTC+73~, BLDTC+77*, BLDTC+94 |
LONGSEG | BLDTC+73~, BLDTC+79*, BLDTC+81, BLDTC+84 |
LQH | BLDPOC+25~, BLDPOC+26*, BLDPOC+29*, BLDPOC+32*, BLDPOC+35*, BLDTC+13~, BLDTC+99*, BLDTC+102*, BLDTC+105*, BLDTC+108* |
M | ETIM+2~, ETIM+5*, ETIM+6, ETIM+7*, ETIM+8, ETIM+9, ETIM+10, ETIM+11 |
MEAL | BLDTC+73~, BLDTC+75*, BLDTC+76*, BLDTC+77, BLDTC+79, BLDTC+81, BLDTC+84 |
MIDPOS | BLDTC+73~, BLDTC+91*, BLDTC+93 |
MIL | ETIM~, ETIM+3, ETIM+4, ETIM+5, ETIM+8, ETIM+9, ETIM+10, ETIM+11 |
MIN | TIMEDIF+4~, TIMEDIF+5*, TIMEDIF+6* |
MIN1 | TIMEDIF+4~, TIMEDIF+5*, TIMEDIF+7 |
MIN2 | TIMEDIF+4~, TIMEDIF+6*, TIMEDIF+7 |
MINS | POSTIM+3~, POSTIM+5*, POSTIM+6 |
MISM | DISPMM+13~, DISPMM+21*, DISPMM+22, DISPMM+23, DISPMM+24, DISPMM+25, DISPMM+26, DISPMM+27, DISPMM+28, DISPMM+29 |
MLOC | BLDTC+73~, BLDTC+93*, BLDTC+94 |
MM | PPMM+1~, PPMM+6!, PPMM+7, PPMM+10, DISPMM~, DAILYMM~, DAILYMM+19* |
MM( | DISPMM+18, DISPMM+21, DAILYMM+82* |
MM(0 | PPMM+8, DAILYMM+13*, DAILYMM+58*, DAILYMM+82 |
MT | TIMEPOS~, TIMEPOS+21 |
ND | DAILYMM+12~, DAILYMM+18, DAILYMM+19, DAILYMM+46, DAILYMM+57, DAILYMM+78, BLDPOC~, BLDPOC+11*, BLDPOC+20*, BLDPOC+28 , BLDPOC+34, BLDPOC+43* |
ND( | DAILYMM+64, DAILYMM+66, DAILYMM+67, DAILYMM+70, DAILYMM+71, DAILYMM+75, DAILYMM+76, BLDPOC+12*, BLDPOC+20*, BLDPOC+30* , BLDPOC+36*, BLDPOC+42! |
NEWEND | BLDPOC+25~, BLDPOC+32*, BLDPOC+35*, BLDPOC+36, BLDTC+13~, BLDTC+105*, BLDTC+108*, BLDTC+109 |
NEWSTART | BLDPOC+25~, BLDPOC+26*, BLDPOC+29*, BLDPOC+30, BLDTC+13~, BLDTC+99*, BLDTC+102*, BLDTC+103 |
NEWT1 | PLACEX+2~, PLACEX+5*, PLACEX+7, PLACEX+9, PLACEX+11*, PLACEX+13*, PLACEX+14, PLACEX+16*, PLACEX+18, PLACEX+24 , PLACEX+26, PLACEX+28*, PLACEX+30*, PLACEX+34*, PLACEX+36 |
P1 | DISPMM+13~, DISPMM+26*, DISPMM+30 |
P2 | DISPMM+13~, DISPMM+27*, DISPMM+30 |
PG | PPMM~, PPMM+3*, PPMM+4, PPMM+11, DISPMM+19, HDR~, HDR+1, HDR+3*, HDR+13, HDR+14 |
PGE | HDR+5~, HDR+13*, HDR+14 |
POC | BLDTC+13~, BLDTC+37*, BLDTC+49, BLDTC+68*, BLDTC+69, CNVTTPOC+1~, CNVTTPOC+2*, CNVTTPOC+5 |
POCBEG | DAILYMM+55~, DAILYMM+70*, DAILYMM+80*, DAILYMM+82 |
POCBEGI | DAILYMM+55~, DAILYMM+66*, DAILYMM+70, DAILYMM+76, DAILYMM+80 |
POCD | BLDPOC+10~, BLDPOC+13 |
POCD( | BLDPOC+15, BLDPOC+16, BLDPOC+17, BLDPOC+18 |
POCEND | DAILYMM+55~, DAILYMM+71*, DAILYMM+79*, DAILYMM+82 |
POCENDI | DAILYMM+55~, DAILYMM+67*, DAILYMM+71, DAILYMM+75, DAILYMM+79, DAILYMM+85, DAILYMM+86, DAILYMM+87, DAILYMM+90 |
POCTT | DAILYMM+55~, DAILYMM+56~, DAILYMM+64*, DAILYMM+65, DAILYMM+82 |
POCTTE | DAILYMM+56~, DAILYMM+65*, DAILYMM+81*, DAILYMM+82 |
POSTED | BLDTC+13~, BLDTC+27*, BLDTC+28*, BLDTC+38 |
PPBEG | HDR+5~, HDR+7*, HDR+10 |
PPE | HDR+5~, HDR+6*, HDR+10 |
PPEND | HDR+5~, HDR+8*, HDR+10 |
PPI | PPMM~, PPMM+4, PPMM+7, PPMM+9, PPMM+10, PPMM+11, DISPMM~, DISPMM+19, HDR~, HDR+6 , HDR+7, HDR+8, DAILYMM~, DAILYMM+14, DAILYMM+18, BLDPOC~, BLDPOC+13, BLDTC~, BLDTC+15, BLDTC+16 , BLDTC+20, BLDTC+23 |
PRSD | PPMM+1~, PPMM+5*, PPMM+7, PPMM+9, PPMM+10, DISPMM~, DAILYMM~, DAILYMM+14, DAILYMM+18, BLDPOC~ , BLDPOC+13, BLDTC~, BLDTC+15, BLDTC+16, BLDTC+20, BLDTC+23 |
PRSIEN | PPMM~, PPMM+4, PPMM+7, PPMM+10, PPMM+11, DISPMM~, DISPMM+19, HDR~, HDR+16, DAILYMM~ , DAILYMM+14, DAILYMM+18, BLDPOC~, BLDPOC+13, BLDTC~, BLDTC+15, BLDTC+16, BLDTC+20, BLDTC+23 |
PSTAT | BLDTC+19~, BLDTC+23*, BLDTC+28*, BLDTC+115 |
PT | DISPMM+13~, DISPMM+28*, DISPMM+30 |
PTE | DISPMM+13~, DISPMM+29*, DISPMM+30 |
QH | BLDPOC+25~, BLDPOC+28*, BLDPOC+29, BLDPOC+34*, BLDPOC+35, BLDTC+13~, BLDTC+101*, BLDTC+102, BLDTC+107*, BLDTC+108 |
RUNDATE | HDR+5~, HDR+15*, HDR+17 |
SEG | BLDPOC+10~, BLDPOC+14*, BLDPOC+15*, BLDPOC+16, BLDPOC+17, BLDPOC+18, BLDTC+13~, BLDTC+32*, BLDTC+33*, BLDTC+34 , BLDTC+39, BLDTC+41, BLDTC+53*, BLDTC+54*, BLDTC+55, BLDTC+56, BLDTC+58 |
SET | BLDPOC+10~, BLDTC+13~ |
SORE | TIMEPOS~, TIMEPOS+21 |
ST | BLDTC+73~, BLDTC+81*, BLDTC+82*, BLDTC+87, BLDTC+89 |
STOP | PPMM~, PPMM+2*, PPMM+4, PPMM+5, PPMM+10, PPMM+11, DISPMM~, DISPMM+14*, DISPMM+18, DISPMM+19 , DISPMM+20, HDR~, HDR+1*, HDR+2 |
STPOS | BLDTC+73~, BLDTC+89*, BLDTC+91 |
T | ETIM+2~, ETIM+5* |
T1 | DISPMM+13~, DISPMM+22*, DISPMM+30, BLDPOC+10~, BLDPOC+16*, BLDPOC+20, BLDTC+13~, BLDTC+39*, BLDTC+40*, BLDTC+45 , BLDTC+46, BLDTC+47*, BLDTC+49, BLDTC+56*, BLDTC+57*, BLDTC+61*, BLDTC+64, BLDTC+65*, BLDTC+69, PLACEX~ , PLACEX+9, PLACEX+11, PLACEX+13, PLACEX+14, PLACEX+16, PLACEX+22, PLACEX+34 |
T2 | DISPMM+13~, DISPMM+23*, DISPMM+30, BLDPOC+10~, BLDPOC+17*, BLDPOC+20, BLDTC+13~, BLDTC+41*, BLDTC+42*, BLDTC+45* , BLDTC+46, BLDTC+48*, BLDTC+49, BLDTC+58*, BLDTC+59*, BLDTC+61, BLDTC+64*, BLDTC+66*, BLDTC+69, PLACEX~ |
TC | BLDTC+13~, BLDTC+26*, BLDTC+28, BLDTC+115, CNVTTPOC+1~, CNVTTPOC+3*, CNVTTPOC+4, CONVERT+31~, CONVERT+33*, CONVERT+34 |
TCBEG | DAILYMM+55~, DAILYMM+68*, DAILYMM+76*, DAILYMM+82 |
TCBEGI | DAILYMM+55~, DAILYMM+62*, DAILYMM+68, DAILYMM+76, DAILYMM+80 |
TCD | BLDTC+13~, BLDTC+16 |
TCD( | BLDTC+54, BLDTC+55, BLDTC+56, BLDTC+58 |
TCEND | DAILYMM+55~, DAILYMM+69*, DAILYMM+75*, DAILYMM+82 |
TCENDI | DAILYMM+55~, DAILYMM+63*, DAILYMM+69, DAILYMM+75, DAILYMM+79, DAILYMM+85, DAILYMM+86, DAILYMM+87, DAILYMM+88 |
TCTT | DAILYMM+56~, DAILYMM+59*, DAILYMM+60, DAILYMM+61*, DAILYMM+82 |
TCTTE | DAILYMM+56~, DAILYMM+60*, DAILYMM+61*, DAILYMM+77*, DAILYMM+82 |
TD | DAILYMM+12~, DAILYMM+14, DAILYMM+46, DAILYMM+57, DAILYMM+74, BLDTC~, BLDTC+30*, BLDTC+49*, BLDTC+69*, BLDTC+101 , BLDTC+107, BLDTC+115* |
TD( | DAILYMM+59, DAILYMM+61, DAILYMM+62, DAILYMM+63, DAILYMM+68, DAILYMM+69, DAILYMM+79, DAILYMM+80, BLDTC+14*, BLDTC+49* , BLDTC+69*, BLDTC+93, BLDTC+94*, BLDTC+103*, BLDTC+109*, BLDTC+114! |
TE | BLDTC+13~, PLACEX+2~, PLACEX+8*, PLACEX+11, PLACEX+13, PLACEX+25*, PLACEX+28, PLACEX+30 |
TEMPT1 | PLACEX+2~, PLACEX+22*, PLACEX+26, PLACEX+28, PLACEX+30 |
TIME1 | TIMEDIF~, TIMEDIF+5 |
TIME2 | TIMEDIF~, TIMEDIF+6 |
TITLE | HDR+5~, HDR+9*, HDR+11 |
TITLE2 | HDR+5~, HDR+10*, HDR+12 |
TOD | BLDTC+13~, BLDTC+15 |
TOD( | BLDTC+33, BLDTC+34, BLDTC+39, BLDTC+41, BLDTC+81, BLDTC+84 |
TODD | BLDTC+13~, BLDTC+15 |
TODD( | BLDTC+76, BLDTC+77, BLDTC+79 |
TODD(1 | BLDTC+74 |
TOUR | BLDTC+13~, BLDTC+61, PLACEX~ |
TOUR( | BLDTC+46*, PLACEX+7, PLACEX+8, PLACEX+24, PLACEX+25 |
TS | BLDTC+13~, PLACEX+2~, PLACEX+6*, PLACEX+7*, PLACEX+8, PLACEX+9, PLACEX+14, PLACEX+16, PLACEX+23*, PLACEX+24* , PLACEX+25, PLACEX+26 |
TT | DISPMM+13~, DISPMM+24*, DISPMM+30, BLDPOC+10~, BLDPOC+18*, BLDPOC+19, BLDPOC+20, BLDTC+13~, BLDTC+34*, BLDTC+35* , BLDTC+36, BLDTC+37, BLDTC+49, BLDTC+55*, BLDTC+67, BLDTC+68, BLDTC+69, CNVTTPOC~, CNVTTPOC+4, CONVERT~ , CONVERT+34 |
TTE | DISPMM+13~, DISPMM+25*, DISPMM+30 |
U | PPMM+9, DISPMM+22, DISPMM+23, DISPMM+24, DISPMM+25, DISPMM+26, DISPMM+27, DISPMM+28, DISPMM+29, HDR+6 , HDR+7, HDR+8, HDR+16, DAILYMM+59, DAILYMM+61, DAILYMM+62, DAILYMM+63, DAILYMM+64, DAILYMM+66, DAILYMM+67 , DAILYMM+82, BLDPOC+16, BLDPOC+17, BLDPOC+18, BLDPOC+20, BLDPOC+30, BLDPOC+36, BLDPOC+42, BLDTC+23, BLDTC+26 , BLDTC+34, BLDTC+39, BLDTC+41, BLDTC+49, BLDTC+55, BLDTC+56, BLDTC+58, BLDTC+69, BLDTC+74, BLDTC+77 , BLDTC+79, BLDTC+81, BLDTC+84, BLDTC+93, BLDTC+94, BLDTC+103, BLDTC+109, BLDTC+114, BLDTC+115, CNVTTPOC+5 |
X | BLDTC+13~, BLDTC+40*, BLDTC+42*, BLDTC+57*, BLDTC+59*, BLDTC+82*, BLDTC+85* |
X0 | BLDTC+19~, BLDTC+20*, BLDTC+26 |
Y | BLDTC+13~, BLDTC+40*, BLDTC+42*, BLDTC+57*, BLDTC+59*, BLDTC+82*, BLDTC+85* |