jbatbayarmonmap-mn-esridist

Create Enterprise Geodatabase with arcpy - No command options given

Discussion created by jbatbayarmonmap-mn-esridist Employee on Jun 27, 2014
Latest reply on Jun 30, 2014 by jbatbayarmonmap-mn-esridist
hi, I'm trying to create geodatabase using python first time. i used script in installation guide. but getting following error:

C:\Users\Administrator\Desktop\geodatbase.py: error: No command options given

Usage: geodatbase.py [Options]

Options:
--version show program's version number and exit
-h, --help show this help message and exit
--DBMS=SQLSERVER Type of enterprise DBMS: SQLSERVER, ORACLE, or
POSTGRESQL.
-i MSSQLSERVER DBMS instance name
-D NGDB Database name: Not required for Oracle
--auth=DATABASE_AUTH Authentication type options (case-sensitive):
DATABASE_AUTH, OPERATING_SYSTEM_AUTH.
Default=DATABASE_AUTH
-U SA DBMS administrator user
-P sysadminpass DBMS administrator password
--schema=SDE_SCHEMA Schema Type for SQL Server geodatabase, SDE or DBO.
Default=SDE_SCHEMA
-u SDE Geodatabase administrator user name
-p SDEPASSWORD Geodatabase administrator password
-t Tablespace name
-l C:\PROGRAM FILES\ESRI\LICENSE10.2\SYSGEN\KEYCODES
Full path and name of authorization file

THANKS

Outcomes