Instructions for Invoking dsdef

dsdef is a line-mode configuration program that defines data sources for use with htmSQL. It enables you to configure data sources and the SAS/SHARE servers and libraries that you include in the data sources.

Syntax

Use the following syntax to invoke dsdef:
dsdef -config pathname
where -config pathname is optional, and pathname specifies the pathname (including the filename) for the data source definition file. You can use -c as an alias for -config.
The definition information is written to the definition file specified by the -config option. If -config is not specified, the definition is written to a default pathname of
  • /usr/local/lib/IntrNet/htmSQL/htmSQL.datasrc (for UNIX and z/OS)
  • C:\Program Files\SAS Software\htmSQL.dsf (for Windows).
If you name your definition file something other than the default pathname, you must specify the following line in the htmSQL configuration file:
datasrcfile = pathname
where pathname is the full pathname of your data source definition file.
If the definition file already exists, it is updated. Otherwise, the file is created.
Note: The directory for the data source definition file must exist before you invoke dsdef. Otherwise, no file is created.

Examples

For UNIX and z/OS

dsdef -config /usr/local/data_source/employee.data_source
dsdef -c /myfiles/financial.datasrc

For Windows:

dsdef -config c:\mydata\datasources\personal.dsf
dsdef -c m:\network\central\datasources\mis.datasource
For more information on the dsdef dialog box, see Using dsdef.