;+
; PROJECT
;               SolarB EIS
;
; NAME
;               EIS_STUDY_FLAG_AS_RECURSIVE
;
; CATEGORY
;               EIS planning
;
; PURPOSE
;               Function to set the study definition flag
;               RECURSIVE = 1 - which indicates that this is a 
;               recursive/default study
;
; INPUTS
;
;
; WRITTEN
;               John A Rainnie, RAL, 22-March-2007
;
; VERSION
;               V0.1
;
;-
;************************************************************************
PRO eis_study_flag_as_recursive , st_id

DEFSYSV , '!PRIV', 2

status = eis_open_db(/STUDY,/UPDATE)
;
; Update database entry with new value
dbput, 'RECURSIVE' , 1 , st_id

print,"Flagged study id = " + STRCOMPRESS(st_id,/REMOVE_ALL) +             $
            " as recursive"

END
