ID) Example(s) of the use of the DESL
translate command.
tran
files r10 thru r15 alpha gt 0
to ffsif go
This execution of "tran" will attempt to produce six new coded
SIF-equivalent files from the (implicitly binary) SIF files
specified. Since the names of the new files have NOT been given
and since the "to" file type for all of the files being created
is "ffsif", the implied names of the new files will have the
form "ffs#", where # is a numeric suffix which makes the new
file name unique in the current directory. Because the condition
"alpha gt 0" was given, only records which contain a value of
the variable "alpha" which is greater than 0 will be retained
in the new files. If no records from a file satisfy this
condition, then the corresponding new file will be empty.
Since no "names" are specified, all SIF variables will be
retained in the records being translated.
tran
files r16 thru r14 r10 allto sif
names alpha beta nf,1 = nf1
run point theta gt -2 theta lt 2 allfrom ffsif go
This execution of "tran" will attempt to produce four new
SIF files from the four specified "ffsif" files "r16", ...
Since no "newfiles" names were specified the names which the
new files will have will be of the style "gen" plus a unique
numeric suffix. Note that it is perfectly legitimate for an
implied list of names to be decrementing rather than incremen-
ting. Since "names" is specified, only the variables "alpha",
"beta", "nf1", "run", and "point" will be retained in the
records being translated. Also, the variable "nf,1" will have
its name changed to "nf1" on the new files. Since two
conditions are specified, only records which satisfy both of
them simultaneously will be translated; ie, only records which
contain values of the variable "theta" which are between -2
and 2, inclusive, will be translated.

DESL Manager at ViGYAN, Inc.
30 Research Drive
Hampton, VA 23666
Voice: (757) 865-1400
Toll Free: (800) 288-3998
FAX: (757) 865-8177