WhereScape RED includes the ability to document the data warehouse, based on the information stored against the metadata for all the tables and columns in the data warehouse. In a larger environment, it may be a good idea to generate documentation in batch mode.
The following syntax chart illustrates the options available:

med.exe /BD { /U UserName { /P Password } } /C OdbcSource { /M Schema } { /N FullName } /D Directory { /G GroupName | ProjectName } /S NumHops { /I- }

{ } indicates an optional parameter and | indicates alternative values.

Parameter Descriptions

The following parameters are available:

ParameterSpecify Value?Mandatory?Description
BDNoYesIndicates batch documentation mode.
UYesSometimes *1ODBC username parameter.
PYesSometimes *1ODBC password parameter.
CYesYesODBC data source parameter.
AYesNoODBC DSN architecture.
MYesSometimes *2Metadata database parameter.
NYesNoRED user name parameter, only for logging purposes.
DYesYesDirectory name where documentation is created.
GYesNoGroup or Project name if specified. All Objects if not included.
SYesYesNumber of processes/hops in the source diagrams.
I-NoNoExclude Impact Analysis on Load tables (reduces the time required to generate documentation)
  • *1. User Name and Password are not required when using a trusted connection or operating system authentication.

Example

The following example connects to a SQL Server repository called WslWarehouse, using a trusted connection into the C:\Temp\my_doco directory with 4 hops in diagrams:

med /BD /C "WslWarehouse" /D "C:\Temp\my_doco" /S "4" 


  • No labels