DGSSNRP2 ;ALB/SEK/PHH - DUPLICATE SPOUSE/DEPENDENT Report - Continued; 04/07/2004
Source file <DGSSNRP2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
MAIN | ;
|
|
;
|
||
LINE(LINE) | ; Prints header if end of page.
|
|
GETDATA | ;Setup global with vets included in the report
|
|
GETPART1 | ;1st part of report
|
|
SETTMPA | ;check if spouse/dep SSN is the same as the vet's SSN or if not available (missing)
|
|
GETPART2 | ;2nd part of report
|
|
SETTMP | ; Spouse/dependent with the same SSN
|
|
CHECKP1 | ;if there is no part1 data S PART1D=0
|
|
HEADER | ;Description: Prints the report header.
|
|
PAUSE | ||
PPART1 | ;Description: Prints Part 1 - Spouse/Dependent with no SSN or the same SSN as Veteran
|
|
PPART2 | ;Description: Prints Part 2 -Spouse/Dependent with the same SSN as another Spouse/Dependent
|
|
LJ(STRING,LENGTH) | ;
|
|
RELCODE(DGCODE) | ;returns relationship name from RELATIONSHIP file (#408.11)
|
|
PART1HEA | ;heading for part1 (vet name & SSN and spouse/dep name & SSN)
|
|
PART1HD | ||
OKRPT(DFN,VADM) | ; Date of Death?
|
|
OKIMP(DFN) | ; Inpatient or Outpatient in the last 3 years?
|
|
OK2RPT(DFN) | ; Appt kept in the last 3 years?
|
|
VBLDARR(DFN) | ; Build array of specified veterans
|
|
SDAM | ||
SELPRT2 | ; Select records for Part 2
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|