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

DEFSYSV , '!PRIV', 2

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

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

END
