man1/setfilename

Table of Contents

Name

setfilename - Set filenames for dosimetry system logging

Synopsis

setfilename <dose_host> <base_path> <conf_file>

Description

setfilename sets the filenames to be used for AMS data collection. The destination directory must exist and be writable by the AMS data collectors. such as TRtask(8) and listp_new(8) .

The default filenames are appropriate for carbon and can be overidden by specifying a CONFLIST_TBL config file as the <conf_file> argument.

This program is part of the NEC AMS dosimetry system.

Arguments

dose_host - required

The host where DOSEserv is running.
path_name - optional

The pathname of a directory which is prepended to the file names.

The AMS data collection software requires an absolute pathname for writing data files therefore this must be given as an absolute pathname.

conf_file - optional

The pathname of a CONFLIST_TBL file containing file name directives. See the File directives section for more information.

File Directives

setfilename uses a subset of the file directives described in the dmngr_config(5) manual page.

This makes it very convenient to do manual testing of the AMS data collection system using the appropriate setups for the isotope currently being run on the system.

Below is a list of configuration table directives that setfilename recognizes. See the dmngr_config(5) manual page for more information about the directives listed here.

fname_le_cup1

The default filename is: le12C
fname_le_cup2

The default filename is: le13C
fname_le_cup3

The default filename is: null
fname_le_cup4

The default filename is: null
fname_le_cup5

The default filename is: null
fname_le_cup6

The default filename is: null

fname_he_cup1

The default filename is: he12C
fname_he_cup2

The default filename is: he13C
fname_he_cup3

The default filename is: null
fname_he_cup4

The default filename is: null
fname_he_cup5

The default filename is: null
fname_he_cup6

The default filename is: null

fname_es_evt

The default filename is: evt14C
fname_es_hist

The default filename is: null
fname_es_cntr

The default filename is: cntrs
fname_es_gate

The default filename is: gates

fname_diag1

The default filename is: diag1
fname_diag2

The default filename is: diag2
fname_diag3

The default filename is: null
fname_diag4

The default filename is: null

Operational Examples


#
# collect data in the current dir
# use the carbon file names
setfilename localhost
#
# collect data in some other dir
# use the carbon file names
setfilename localhost /datasets/vol1/test_batch
#
# collect data in some other dir
# use an AMS system dmngr_config to obtain file names
setfilename localhost /datasets/vol1/test_batch \
/AccelNET/demo/ams_setup/chlorine/dmngr_config

dmngr_config table example


#
#    setfilename configuration file
#
#    for chlorine
#
fname_le_cup1        le35Cl
fname_le_cup2        le37Cl
fname_he_cup1        he37Cl
fname_he_cup2        he35Cl
fname_es_evt        evt36Cl

Notes

Usually DMANserv(8) performs the function of setting the file names for data collection. This program along with logging(1) may be used in a test environment or in cases where the user wishes to do something other than the what DMANserv(8) provides.

Manual Page Revision

$Id: setfilename.1,v 1.2 2004/04/08 20:09:25 kitchen Exp $


Table of Contents