There are a set of programs allowing processing of DataFerrett tabulations in a batch environment. The first is a java application program (org.thedataweb.util.TableShellApp), which communicates to a second java servlet program (org.thedataweb.ferret.applet.TableShellServlet). Since these are java programs, they may be run on any machine/environment.
The first application program (TableShellApp?) does the following:
Accepts the following parameters:
Host machine name of the second program, the TableShellServlet?.
Host port of the second program, the TableShellServlet?.
Input filename of a Ferrett Tabulation file (.FTF).
(Optional) Output type. Valid values include ("ASCII","HTML","ACS","COMMA","TABDEL",and "SPACE"). Default value is "ASCII".
(Optional) Boolean value of whether to have the TableShellServlet? write the output on its server. Default value is false.
(Optional) Output file name used to write the output on the TableShellServlet? server.
(Optional) User name - necessary for embargoed/private data access.
(Optional) User password - necessary for embargoed/private data access.
Using the DataFerrett communication protocol, it passes the contents of the Ferrett Tabulation file, followed by the information from the optional parameters. If an optional parameter is not used, the default value if available is passed.
Prints the results from the TableShellServlet? to the console.