UPD |
Subroutine UPD in YSDSS must be called with
parameters as follows:
UPD(YSFILE,YSFRN,YSYRMO,YSEXTN,YSSITE,YSSD,YSEND,YSERR), where
YSFILE - MENTAL HEALTH EXTRACT file # (required)
YSFRN - last IEN used in the MENTAL HEALTH EXTRACT file (required)
YSYRMO - YearMonth of the extract (YYYYMM) (required)
YSEXTN - Extract # (required)
YSSITE - Facility identifier (required)
YSSD - Start date for extract (required)
YSEND - End date for extract (required)
YSERR - passed by reference; returnes "1", if error; otherwise "0"
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
YSFILE |
Input |
This is the file number for the DSS Mental Health
extract file.
|
YSFRN |
Both |
Input: This is the last internal record number used
in the Mental Health extract file before the current extract.
Output: This is the last internal record number used for the current Mental
Health extract.
|
YSYRMO |
Input |
A 6-digit numeric of format YYYYMM.
|
YSEXTN |
Input |
The unique extract number for the current Mental
Health extract.
|
YSSITE |
Input |
May be numeric or alpha-numeric; the Station Number
of the facility performing the Mental Health extract.
|
YSSD |
Input |
The start date for the data extraction process in
standard FileMan internal format.
|
YSEND |
Input |
The ending date for the data extracttion process in
standard FileMan internal format.
|
YSERR |
Output |
Returns "0" if no problems were encountered which
would cause the extraction process to abort.
Returns "1" if some problem is found which prevents the extraction process
from occurring; e.g., missing files.
|
|