space
Previous Page | Next Page

SAS/IntrNet 9.2: htmSQL

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: dsdef -config pathname

-config pathname (optional)
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, it 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 a detailed description of the dsdef dialog box, see Using dsdef.

Note: z/OS is the successor to the OS/390 and MVS operating systems. SAS/IntrNet 9.1 for z/OS is supported on the MVS, OS/390, and z/OS operating systems and, throughout this document, any reference to z/OS also applies to OS/390 and MVS, unless otherwise stated.

Previous Page | Next Page | Top of Page