DG488 ;ALB/GN - CLEANUP PATIENT RELATION & INCOME FILES;12/11/02 ; 2/4/03 1:25pm
Source file <DG488.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| TEST | ; Entry point for testing this routine, then fall thru.
 | 
|
| EN | ; Entry point to start job
 | 
|
| TASK | ; Entry point for taskman
 | 
|
| DG40812(IEN) | ; Main Cleanup driver for file 408.12
 | 
|
| DEL40821(R12,DG21,DG21X) | ; Delete any entries in 408.21 that point to the bad
 ; 408.12 record.  | 
|
| DG22AIND(R21) | ;Delete any entries in 408.22 that is pointing to the bad 408.21
 | 
|
| DG40821(IEN) | ; Main Cleanup driver for file 408.21, If 408.21 not pointed to
 ; by any 408.22 record, then delete it and check 408.12 for possible ; deletion as well.  | 
|
| DEL21(R21,R12,DG21) | ; save to Xtmp & associated REC12, then delete the 408.21
 | 
|
| CHK40812(R12,R21,DG12) | ; delete 408.12's if no other 408.21's pointing to it
 | 
|
| DG40822(IEN) | ; Main Cleanup driver for file 408.22
 | 
|
| CHKSTAT() | ;check if job is running, stopped, or completed
 | 
|
| GETLAST | ;get last run info
 | 
|
| MSG(QUIT) | ;print message to user
 | 
|
| STOP | ; alternate stop method
 | 
|
| NAMSPC() | ;
 | 
| 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 | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DGPR(408.12 - [#408.12] | Classic Fileman Calls | 
| ^DGMT(408.21 - [#408.21] | Classic Fileman Calls | 
| ^DGMT(408.22 - [#408.22] | Classic Fileman Calls |