seedeploy [Options][Category]Action Parameters
Depending on the command's action, deploys, extracts, or deletes items in the region database, cross-region database, user-defined database, or an Azure Cloud drive (discussed in the Hosting CICS and Batch Applications in Windows Azure section). This includes:
For all actions, Option can have the following values:
Display minimal output, same as -quiet.
Display minimal output.
Display information about the URL syntax.
Display additional information in the list output.
The Category parameter defines the item to be acted upon. Valid values are:
The item acted upon is a binary file, for example a DLL file. This is the default.
The item acted upon is a resource definition file.
The item acted upon is a region startup file.
The action specified is to be done against an Azure cloud drive hosted in a monitor worker role, deployed into Azure.
The action acted upon is a VSAM, line sequential or fixed length sequential file.
The Action parameter defines the process performed on the specified item. It can have the following values. Each performs a specific function.
Creates a table in a specified database. There is no create action for cloud drive operations.
Deploys the specified file to the database or Azure cloud drive.
Deletes the specified item from the database or Azure cloud drive.
Copies the specified item from the database or Azure cloud drive to a file.
Lists the contents of the specified database table or directory on an Azure cloud drive.
Refer to the See Also link at the end of this topic for information on defining a component's URL location.
seedeploy [Option][Category]create <url>
Creates a table in a database such as a cross-region database, a region database, or a user-defined database. If the specified database does not exist, the action creates a simple database and adds the table to it.
Syntax:
seedeploy Option category add file url[#name]
seedeploy [option] [category] add file sql://host[/inst]/(crdb)/filename
seedeploy [option] clouddrive add file cdrv://host/FullFilePath
seedeploy [option] data add file sql://host/[/inst]/datastore/filename?[folder=path][;type=type][;reclen=min,max]
Adds an item to the database or Azure cloud drive. You can use wildcards in the filename to add multiple files for database targets, but not currently for Azure cloud drives.
Deletes the specified item in the region or cross-region database. If the name has an extension, for example ACCT01.DLL, this command deletes only the item with the matching name and file type. Otherwise, it deletes all matching items.
Syntax:
seedeploy [Option] [category] delete url#name
The item to delete's database location in URL format.
See the section below on URL syntax.
Extracts the contents of the specified item to a file. The name part of the URL must include the file type.
Syntax:
seedeploy [Option] [category] extract url#name path
seedeploy [option] [category] extract sql://host[/inst]/(crdb)/filename
seedeploy [Option] clouddrive extract cdrv://host/FullFilePath file
The database location in URL format of the item to be extracted.
See the section below on URL syntax.
The full path to the file to be extracted.
Lists the contents of the specified table. Use the -verbose to display additional information.
Syntax:
seedeploy [Option] [category] list url
The database location in URL format of the item to be extracted.
See the section below on URL syntax.
seedeploy data create sql://host/inst/VSAM
seedeploy add pgm.dll.old sql://host/inst/db/Programs#pgm.dll
seedeploy rdo add c:\resourcedir\resdef.cfg sql://myhost/inst1/(crdb)
seedeploy regionfile add c:\regiondir\regiondef.config sql://myhost/inst1/(crdb)
seedeploy data add c:\datadir\employee.dat sql://myhost/inst1/datastore/employee.dat?folder=VSAMFILES
seedeploy data add c:\datadir\employee.seq sql://myhost/inst1/datastore/employee.seq?folder=SEQFILES;type=lseq;reclen=0,132
seedeploy data add c:\datadir\employee1.seq sql://myhost/inst1/datastore/employee1.seq?folder=SEQFILES;type=seq;reclen=80,80
seedeploy clouddrive add c:\transactions\acct.dll cdrv://example.cloudapp.net/m:/programfolder/transactions/acct.dll
seedeploy delete sql://localhost/(crdb)#ACCT00.DLL
seedeploy delete sql://localhost/(crdb)#ACCT00
seedeploy rdo delete sql://localhost/(crdb)/myResourceDef>
seedeploy clouddrive delete cdrv://example.cloudapp.net/m:/programfolder/transactions/ACCT00.DLL
seedeploy extract sql://host/inst/db/Programs#pgm.dll pgm-from-db.dll
seedeploy rdo extract sql://localhost/(crdb)/myResourceDefs resourcedef-from-db.config
seedeploy clouddrive extract cdrv://example.cloudapp.net/m:/programfolder/transactions/ACCT00.DLL .\ACCT00.DLL
seedeploy list sql://localhost/SEEApps/Programs
seedeploy rdo list sql://localhost/ (crdb)
seedeploy regionfile list sql://localhost/(crdb)
seedeploy clouddrive list cdrv://example.cloudapp.net/m:/programfolder/transactions
SQL urls are constructed by placing a "sql://" or "cdrv://" followed by a mixture of the following syntax:
URLs for the "create" and "list" commands do not use keys.
URLs for other commands must have a key.
In the add command, a filename can be omitted, and the uploaded filename will be derived from the source filename.
URLs for the "list" commands do not use filename.
URLs for other commands, except the data category, must have a filename.
In the add command, a filename can be omitted, and the uploaded filename will be derived from the source filename
URL's for the "list" commands do not use filename.
URL's for other commands, except the data category, must have a filename.
For an add, delete, or extract operation, the URL must take the form: sql://host[/instance]/datastore/filename[?folder=/path]
Example URLs:
Special URLs:
Use e.g. "sql://server[/instance]/(regionDatabase)/ESDEMO/Programs" or "sql://server[/instance]/(rdb)/ESDEMO/Programs" for the Programs table in the ESDEMO region's region database.
Use "sql://host[/instance]/(crossRegionDatabase)" or"sql://host[/instance]/(crdb)" for the Binaries table in the cross-region database.