genlplfromdb - Generate LPL files to access an SQL database
genlplfromdb [OPTIONS] dbtype dbname -h HOST:PORT -s
SCHEMA -u USER -p
PW
genlplfromdb --directives
genlplfromdb generates the Landmark Pattern Language file definition to access an SQL database.
You must specify values for the -h
, -s
, -u
, -p
, dbtype
, and dbname
parameters.
Program Option | Description |
---|---|
-D destination
or --pl=NAME
|
Specify the destination name or directory for Landmark Pattern Language source tree. The default destination is %LARUNDIR%\dbname. |
-h HOST:PORT
or --host=HOST:PORT
|
Required for Microsoft SQL Server. Specify the server or host machine and port where the database is located. |
-s SCHEMA
or --schema=SCHEMA
|
Required. Specify the database schema to use when generating the LPL files. |
|
Required. Specify the database user name for the table owner. |
|
Required. Specify the password for the database user. |
|
Exclude tables whose name matches the specified patterns in the FILE. Pattern
examples: |
|
Include tables whose name matches the specified patterns in the FILE. Pattern
examples: |
-t or --type=NAME
|
Source type to generate: foreign , m3 , s3 , landmark .
|
-m
|
Specify a module to use for generated files. This will default to |
-P
|
Specify the starting file prefix. The prefix
will default to |
-x
|
Transform directive file. Directive examples:
|
dbtype
|
Required. Specify the type of database that the .lpl files will be generated from. Enter one of the following:
|
dbname
|
Specify the database name. |
--directives |
Print a list of valid directives. |
-v displayoptions
|
|